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 0e3051e28..43dc5ed51 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -3685,6 +3685,10 @@ class Document(
pgettext_lazy("key for text search", "operation"),
"operations__cached_label__iexact",
),
+ "operations__operation_type": SearchAltName(
+ pgettext_lazy("key for text search", "operation-type"),
+ "operations__operation_type__label__iexact",
+ ),
"context_record": SearchAltName(
pgettext_lazy("key for text search", "context-record"),
"context_records__cached_label__iexact",