From e81170204f2ae8b545e3c2a9acf8122c9ea00a7d Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 24 Feb 2022 18:41:53 -0500 Subject: [PATCH] [paperwork] Fix Certification admin search fields --- paperwork/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paperwork/admin.py b/paperwork/admin.py index 1849dff..be40909 100644 --- a/paperwork/admin.py +++ b/paperwork/admin.py @@ -38,8 +38,8 @@ class CertificationDefinitionAdmin(admin.ModelAdmin): class CertificationAdmin(admin.ModelAdmin): search_fields = [ "name", - "certification__certification_name", - "certification__department", + "certification_version__definition__certification_name", + "certification_version__definition__department", ] autocomplete_fields = ["member"] exclude = ["shop_lead_notified"]