From dcb783095c33ab8b1115a18fdac5a43e50443e6f Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 2 Jun 2018 16:41:50 +0200 Subject: [PATCH] Fix filters order. Close #15 --- manuels/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manuels/admin.py b/manuels/admin.py index 9591606..200808f 100644 --- a/manuels/admin.py +++ b/manuels/admin.py @@ -45,7 +45,7 @@ class BookAdmin(ExportMixin, admin.ModelAdmin): list_display = ['level', 'field', 'title', 'authors', 'editor', 'publication_year', 'isbn', 'price', 'previously_acquired', 'teacher', 'done'] list_editable = ['done'] - list_filter = ['done', 'editor', 'previously_acquired', 'teacher', 'level'] + list_filter = ['done', 'previously_acquired', 'level', 'editor', 'teacher'] list_display_links = ['title'] fieldsets = [ ('Infos livre', {