From cbff90a09baa33a267966377338414b3cba870e8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 1 Mar 2023 17:31:44 +0100 Subject: Search - Account: add "profile type" field --- ishtar_common/models.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 096a5e0a7..80a6a9141 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2808,6 +2808,10 @@ class Person(Address, Merge, OwnPerms, ValueGetter, MainItem): pgettext_lazy("key for text search", "has-account"), "ishtaruser__isnull", ), + "profiles__profile_type": SearchAltName( + pgettext_lazy("key for text search", "profile-type"), + "profiles__profile_type__label__iexact", + ), } QA_EDIT = QuickAction( url="person-qa-bulk-update", -- cgit v1.2.3