From 9751a5ad92f674cb796d4be0ae159a9a6cc0fa6d Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Fri, 7 Aug 2020 12:55:07 +0200 Subject: [PATCH] :bug: Fix pagination in transaction page --- apps/note/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/note/views.py b/apps/note/views.py index bdc450fe..169920e9 100644 --- a/apps/note/views.py +++ b/apps/note/views.py @@ -214,7 +214,7 @@ class TransactionSearchView(ProtectQuerysetMixin, LoginRequiredMixin, DetailView transactions = transactions.filter(created_at__lte=data["created_before"]) table = HistoryTable(transactions) - table.paginate(per_page=100) + table.paginate(per_page=100, page=self.request.GET.get("page", 1)) context["table"] = table return context