mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-67623 block overview: fix pagination regression
Fixed a regression caused by MDL-64194 resulting in Dashboard - Course overview pagination not working from second page of courses onwards. Course overview block should now do the following: - Display no pagination controls when user has no courses - Display no pagination controls when less than 12 courses to display - Only display pagination controls up to the number of courses user is enrolled in - Work correctly when on a page greater than the second page.
- Loading branch information
Tom Dickman
committed
Dec 14, 2020
1 parent
c307f3b
commit c00fc97
Showing
10 changed files
with
239 additions
and
50 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.