Skip to content

Commit

Permalink
Pagination feature refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Vahram1995 committed Sep 10, 2024
1 parent 7201be7 commit e777b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Libraries/Database/BasePaginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ protected function getPageItems($pagination, $currentPage, $totalPages, $pageIte
}

$links = $this->links($withBaseUrl);
$pagination = $this->getItemsLinks($pagination, $startPage, $endPage, $currentPage, $links, $withBaseUrl);
$pagination = $this->getItemsLinks($pagination, $startPage, $endPage, $currentPage, $links);

if ($endPage < $totalPages) {
if ($endPage < $totalPages - 1) {
Expand Down

0 comments on commit e777b25

Please sign in to comment.