From b37b4940dbde80ae4bede639c337840a18019bdd Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 18 Sep 2019 13:20:11 +0200 Subject: Documents: search by find basket --- 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 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' -- cgit v1.2.3