From 84d1f393f0a267499be11d47a7cd28566db7ef39 Mon Sep 17 00:00:00 2001 From: Kevin Bond Date: Wed, 13 Nov 2024 10:33:50 -0500 Subject: [PATCH] fix: use strict pagination (#112) --- templates/history.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/history.html.twig b/templates/history.html.twig index 84fbc5b..f6d18cf 100644 --- a/templates/history.html.twig +++ b/templates/history.html.twig @@ -131,7 +131,7 @@ {{ include('@ZenstruckMessengerMonitor/components/snapshot.html.twig') }}
- {% 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