mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-15 02:57:09 +01:00
Make number of list items per page configurable
This commit is contained in:
parent
e6526d3fd4
commit
3c08fa9b33
3 changed files with 5 additions and 2 deletions
|
|
@ -56,7 +56,6 @@ class DocumentAdmin(admin.ModelAdmin):
|
|||
list_display = ("created", "title", "thumbnail", "correspondent", "tags_")
|
||||
list_filter = ("tags", "correspondent", MonthListFilter)
|
||||
ordering = ["-created", "correspondent"]
|
||||
list_per_page = 25
|
||||
|
||||
def created_(self, obj):
|
||||
return obj.created.date().strftime("%Y-%m-%d")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue