Skip to content

Commit 18bf87e

Browse files
authored
feat: improve the admin for the nomcom volunteer model (ietf-tools#4223)
* feat: improve the admin for the nomcom volunteer model * fix: restore raw-id for person on nomcom volunteer admin.
1 parent 9d10fb7 commit 18bf87e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/nomcom/admin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ class TopicFeedbackLastSeenAdmin(admin.ModelAdmin):
7070
admin.site.register(TopicFeedbackLastSeen, TopicFeedbackLastSeenAdmin)
7171

7272
class VolunteerAdmin(admin.ModelAdmin):
73-
list_display = ['nomcom','person','affiliation']
73+
list_display = ['id', 'nomcom','person','affiliation']
7474
list_filter = ['nomcom']
75+
search_fields = ['person__name', 'nomcom__group__acronym', 'affiliation']
7576
raw_id_fields = ['person']
7677
admin.site.register(Volunteer, VolunteerAdmin)
7778

0 commit comments

Comments
 (0)