Browse Source

recherche dans les notes des adhésions

Élie Bouttier 7 years ago
parent
commit
06f0397112
1 changed files with 1 additions and 1 deletions
  1. 1 1
      adhesions/admin.py

+ 1 - 1
adhesions/admin.py

@@ -156,7 +156,7 @@ class AdhesionAdmin(admin.ModelAdmin):
     list_filter = (AdherentTypeFilter,)
     fields = ('id', 'type', 'get_adherent_link', 'notes')
     readonly_fields = ('id', 'type', 'get_adherent_link',)
-    search_fields = ('id',)
+    search_fields = ('id', 'notes',)
     inlines = (ServiceInline,)#PaymentInline,)
 
     def get_id(self, obj):