From 0d7c7ae09ca7d0e960845045a2a032a325df8bf4 Mon Sep 17 00:00:00 2001 From: Girum Bizuayehu Date: Tue, 2 Sep 2025 10:12:34 +0300 Subject: [PATCH] Fix WealthGroupAdmin search_fields see HEA-626 --- apps/baseline/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/baseline/admin.py b/apps/baseline/admin.py index 70555a6d..ec2154a1 100644 --- a/apps/baseline/admin.py +++ b/apps/baseline/admin.py @@ -767,7 +767,8 @@ class WealthGroupAdmin(admin.ModelAdmin): ) search_fields = ( "community__name", - "wealth_group_category", + "wealth_group_category__code__iexact", + *translation_fields("wealth_group_category__name"), ) list_filter = ( "livelihood_zone_baseline__source_organization",