Search by metadata.
[redakcja.git] / src / catalogue / admin.py
index a628961..8ce330c 100644 (file)
@@ -137,7 +137,7 @@ class CollectionAdmin(admin.ModelAdmin):
     autocomplete_fields = []
     prepopulated_fields = {"slug": ("name",)}
     search_fields = ["name"]
     autocomplete_fields = []
     prepopulated_fields = {"slug": ("name",)}
     search_fields = ["name"]
-    fields = ['name', 'slug', 'category', 'estimated_costs']
+    fields = ['name', 'slug', 'category', 'notes', 'estimated_costs']
     readonly_fields = ['estimated_costs']
     inlines = [AuthorInline, BookInline]
 
     readonly_fields = ['estimated_costs']
     inlines = [AuthorInline, BookInline]