From 18bf87ea5e415e38334b9d1dc2d3bad1606f3417 Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Mon, 18 Jul 2022 08:36:34 -0500 Subject: [PATCH] feat: improve the admin for the nomcom volunteer model (#4223) * feat: improve the admin for the nomcom volunteer model * fix: restore raw-id for person on nomcom volunteer admin. --- ietf/nomcom/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ietf/nomcom/admin.py b/ietf/nomcom/admin.py index eef0eb3a8..4b18cc005 100644 --- a/ietf/nomcom/admin.py +++ b/ietf/nomcom/admin.py @@ -70,8 +70,9 @@ class TopicFeedbackLastSeenAdmin(admin.ModelAdmin): admin.site.register(TopicFeedbackLastSeen, TopicFeedbackLastSeenAdmin) class VolunteerAdmin(admin.ModelAdmin): - list_display = ['nomcom','person','affiliation'] + list_display = ['id', 'nomcom','person','affiliation'] list_filter = ['nomcom'] + search_fields = ['person__name', 'nomcom__group__acronym', 'affiliation'] raw_id_fields = ['person'] admin.site.register(Volunteer, VolunteerAdmin)