Skip to content

Commit 01e2072

Browse files
committed
Added search fields for 2 GroupEvent admin views.
- Legacy-Id: 4643
1 parent 298d74a commit 01e2072

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ietf/group/admin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,11 @@ class RoleAdmin(admin.ModelAdmin):
134134

135135
class GroupEventAdmin(admin.ModelAdmin):
136136
list_display = ["id", "group", "time", "type", "by", ]
137+
search_fields = ["group__name", "group__acronym"]
137138
admin.site.register(GroupEvent, GroupEventAdmin)
138139

139140
class ChangeStateGroupEventAdmin(admin.ModelAdmin):
140141
list_display = ["id", "group", "state", "time", "type", "by", ]
142+
search_fields = ["group__name", "group__acronym"]
141143
admin.site.register(ChangeStateGroupEvent, ChangeStateGroupEventAdmin)
142144

0 commit comments

Comments
 (0)