mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-12-22 15:32:22 +00:00
🐛 Fix pagination in transaction page
This commit is contained in:
parent
679ac3a652
commit
9751a5ad92
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user