Skip to content
Snippets Groups Projects
Commit 9751a5ad authored by ynerant's avatar ynerant
Browse files

🐛 Fix pagination in transaction page

parent 679ac3a6
No related branches found
No related tags found
3 merge requests!104Beta,!98Morefront,!91Documents
Pipeline #8388 passed with warnings with stages
in 5 minutes and 10 seconds
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment