Skip to content

Commit

Permalink
Add withMaxPaginationButtons to thread overview pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
fwolf-ilias committed Aug 6, 2024
1 parent 0e09ca5 commit e5ae316
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Modules/Forum/classes/class.ilObjForumGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,7 @@ private function renderThreadOverview(ilForumThreadObjectTableGUI $tbl, ilForum
->withTargetURL($url, ilForumProperties::PAGE_NAME_THREAD_OVERVIEW)
->withTotalEntries($frm_object->getTopNumThreads())
->withPageSize(ilForumProperties::PAGE_SIZE_THREAD_OVERVIEW)
->withMaxPaginationButtons(5)
->withCurrentPage($current_page);

if ($found_threads === false) {
Expand Down

0 comments on commit e5ae316

Please sign in to comment.