Make number of list items per page configurable

This commit is contained in:
Eric Wong
2017-01-07 23:15:59 -08:00
parent e6526d3fd4
commit 3c08fa9b33
3 changed files with 5 additions and 2 deletions

View File

@@ -61,10 +61,11 @@ INSTALLED_APPS = [
]
_list_per_page = int(os.getenv("PAPERLESS_LIST_PER_PAGE", 25))
SUIT_CONFIG = {
'ADMIN_NAME': 'Paperless',
'SEARCH_URL': '',
'LIST_PER_PAGE': 100,
'LIST_PER_PAGE': _list_per_page,
'HEADER_DATE_FORMAT': 'D m-d-Y',
'MENU': (
'sites',