mirror of https://gitlab.crans.org/bde/nk20
🐛 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