X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/b58642415e284ebf397f3577bfe70277e84f6993..c6d69afb72785ca148ca4a38cba5ba2b83d71c43:/wtem/admin.py?ds=sidebyside diff --git a/wtem/admin.py b/wtem/admin.py index efaf253..acab816 100644 --- a/wtem/admin.py +++ b/wtem/admin.py @@ -244,6 +244,7 @@ class ConfirmationAdmin(admin.ModelAdmin): readonly_fields = ('contact', 'readable_contact', 'readable_age', 'school_phone', 'key', 'confirmed') list_filter = ('confirmed',) list_select_related = ('contact',) + search_fields = ('last_name', 'email', 'contact__contact') def resend_mail(self, request, queryset): for confirmation in queryset: