From dd69c250f4c19359906d2c44cd2da07b11664280 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 31 Jan 2011 15:02:03 +0100 Subject: [PATCH 1/1] add search to bookmedia admin --- apps/catalogue/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/catalogue/admin.py b/apps/catalogue/admin.py index d11750dbd..94f8f302d 100644 --- a/apps/catalogue/admin.py +++ b/apps/catalogue/admin.py @@ -53,6 +53,7 @@ class MediaAdmin(admin.ModelAdmin): list_display = ('name', 'type', 'uploaded_at') ordering = ('name', 'type') + search_fields = ('name',) -- 2.20.1