aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/pagination.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/pagination.html')
-rw-r--r--templates/web/base/pagination.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/pagination.html b/templates/web/base/pagination.html
index 7ae3559ce..3b7bdc0b2 100644
--- a/templates/web/base/pagination.html
+++ b/templates/web/base/pagination.html
@@ -8,7 +8,7 @@
[% IF pager.next_page %]
<a class="next" href="[% c.uri_with({ $param => pager.next_page, ajax => undefined }) %][% '#' _ hash IF hash %]">[% loc('Next') %]</a>
- [% ELSIF num_old_reports > 0 AND NOT show_old_reports AND page == 'around' %]
+ [% ELSIF page == 'around' AND num_old_reports > 0 AND NOT show_old_reports %]
<a class="next show_old" href="[% c.uri_with({ $param => pager.current_page, show_old_reports = 1, ajax => undefined }) %][% '#' _ hash IF hash %]">[% loc('Show older') %]</a>
[% END %]
</p>