summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py4
1 files changed, 4 insertions, 0 deletions
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",