mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Make number of list items per page configurable
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user