diff options
Diffstat (limited to 'templates/web/base/pagination.html')
-rw-r--r-- | templates/web/base/pagination.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/pagination.html b/templates/web/base/pagination.html index 9efdc3d78..a52632a25 100644 --- a/templates/web/base/pagination.html +++ b/templates/web/base/pagination.html @@ -1,4 +1,4 @@ -[% IF pager.total_entries > 1 %] +[% IF pager AND pager.total_entries > 1 %] <p class="pagination" data-page="[% pager.current_page | html %]"> [% IF pager.previous_page %] <a class="prev" href="[% c.uri_with({ $param => pager.previous_page, ajax => undefined }) %][% '#' _ hash IF hash %]">[% loc('Previous') %]</a> |