Skip to content

Commit

Permalink
fix: use strict pagination (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond authored Nov 13, 2024
1 parent 5a9cf9e commit 84d1f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/history.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
{{ include('@ZenstruckMessengerMonitor/components/snapshot.html.twig') }}
</div>
<div class="col-md-8 col-lg-9">
{% set paginator = snapshot.messages.paginate(app.request.query.getInt('page', 1), 10) %}
{% set paginator = snapshot.messages.paginate(app.request.query.getInt('page', 1), 10).strict %}
{% embed '@ZenstruckMessengerMonitor/components/messages.html.twig' with {messages: paginator} %}
{% block card_header %}
Messages
Expand Down

0 comments on commit 84d1f39

Please sign in to comment.