Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-69490

My overview: More than two pages not available in pagination

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.4, 3.9.1, 3.10
    • Fix Version/s: None
    • Component/s: Blocks
    • Labels:
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE

      Description

      What I did

      • Assigning at least 25 courses to a user
      • Adding the "Course overview" (blocks_myoverview) block to the dashboard
      • Display 12 items per page
      • Navigate from the first page to the second page

      What I expected

      Since there are 25 courses, there should be three pages, the first two with 12 courses each, the third with one course.

      What actually happens

      After reaching the second page, the "next" button is always disabled, so I can't navigate to the third page.

      Additional information

      • It doesn't matter how many courses I display per page. If I have 49 courses and display 24 courses per page, the third page is not reachable, too.
      • The data from the XHR response seems to be correct; it includes a correct "nextoffset":

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            visol Lorenz Ulrich
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: