-
Bug
-
Resolution: Fixed
-
Minor
-
2.1
-
MOODLE_21_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE
-
wip-
MDL-30316-master -
-
I changed the maxdisplay to 5 because the section I have to show the pagination is not big enough but I found a problem. The values to calculate which pages to display are hardcoded instead of being relative, for example:
When viewing an interface with pagination, it only shows the first 5 pages and the user can't access the rest.
I created a database activity with more than 5 entries and when I click on "View single" and navigate to page number 5, I can't access the rest unless I change the URL manually but then I wouldn't see the current page.
I think this is something very specific, but I think the suggested solution can help everyone in a similar situation.