paperwork: Fix department name search fields in Certification admin

This commit is contained in:
Adam Goldsmith 2023-03-02 20:24:06 -05:00
parent 45d550878d
commit 1cf3f2dcbf

View File

@ -68,7 +68,7 @@ class CertificationAdmin(admin.ModelAdmin):
search_fields = [
"name",
"certification_version__definition__certification_name",
"certification_version__definition__department",
"certification_version__definition__department__name",
]
autocomplete_fields = ["member"]
exclude = ["shop_lead_notified"]