🐛 Fix pagination in transaction page

This commit is contained in:
Yohann D'ANELLO 2020-08-07 12:55:07 +02:00
parent 679ac3a652
commit 9751a5ad92
1 changed files with 1 additions and 1 deletions

View File

@ -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