Skip to content

Commit

Permalink
Show first/last page links
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Sep 22, 2020
1 parent 55f269f commit cde428e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/element/index/pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<?php
if ($this->Paginator->hasPage(2)) {
echo $this->Paginator->links([
'first' => true,
'last' => true,
'prev' => true,
'next' => true,
]);
Expand Down

0 comments on commit cde428e

Please sign in to comment.