X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/bad8c938b9e545cd4360204e6fd0459b83718c13..4bff37c73cb3e5035954af699a2c52065c993197:/src/catalogue/admin.py?ds=sidebyside

diff --git a/src/catalogue/admin.py b/src/catalogue/admin.py
index 4f30b2432..9d62c8145 100644
--- a/src/catalogue/admin.py
+++ b/src/catalogue/admin.py
@@ -40,6 +40,7 @@ class BookAdmin(admin.ModelAdmin):
             ('wiki_link', BlankFieldListFilter),
             ('parent', EmptyFieldListFilter),
             ]
+    date_hierarchy = 'created_at'
     search_fields = ('title',)
     ordering = ('title',)