summaryrefslogtreecommitdiff
path: root/ishtar_common/models_common.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models_common.py')
-rw-r--r--ishtar_common/models_common.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py
index 38aa6fc51..8a9de207e 100644
--- a/ishtar_common/models_common.py
+++ b/ishtar_common/models_common.py
@@ -1833,6 +1833,10 @@ class DocumentItem:
pgettext_lazy("key for text search", "has-attached-file"),
"documents__associated_file__isnull",
),
+ "documents__source_type": SearchAltName(
+ pgettext_lazy("key for text search", "document-type"),
+ "documents__source_type__label__iexact",
+ ),
}
def documents_list(self) -> list: