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 d8283e23f..0b89e6416 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -5057,6 +5057,10 @@ class Document(BaseHistorizedItem, QRCodeItem, OwnPerms, ImageModel,
pgettext_lazy("key for text search", "context-record"),
'context_records__cached_label__iexact'
),
+ 'find_basket': SearchAltName(
+ pgettext_lazy("key for text search", "basket-finds"),
+ 'finds__basket__label__iexact'
+ ),
'find': SearchAltName(
pgettext_lazy("key for text search", "find"),
'finds__cached_label__iexact'