refactoring

This commit is contained in:
Čarodej
2022-05-24 10:01:07 +02:00
parent f75c20e5a7
commit 36c5e51b4f
9 changed files with 218 additions and 219 deletions

View File

@@ -1174,7 +1174,7 @@ if (! function_exists('replace_occurrence')) {
'total' => $totalItemsCount,
],
[
'first' => $uri . '&page=' . 1,
'first' => $uri . '&page=1',
'last' => $uri . '&page=' . $lastPage,
'next' => $currentPage == $lastPage ? null : $uri . '&page=' . $currentPage + 1,
'prev' => $currentPage == 1 ? null : $uri . '&page=' . $currentPage - 1,