Added the page size options to the pagination navigation bar.

This commit is contained in:
imacat committed 2020-07-08 23:40:36 +08:00
1 parent fc2e89ca1a
commit e5d0feadbc
3 files changed
+53 -13

No files matched your search

+1 -1
View File
@@ -131,7 +131,7 @@ class BaseReportView(generic.ListView):
data = super(BaseReportView, self).get_context_data(**kwargs)
data["period"] = self.period
data["subject"] = self.subject
data["pagination_links"] = self.pagination.links
data["pagination"] = self.pagination
return data