diff --git a/paperwork/admin.py b/paperwork/admin.py index 75970a9..b0ac9b6 100644 --- a/paperwork/admin.py +++ b/paperwork/admin.py @@ -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"]