diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-18 13:20:11 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-18 13:20:11 +0200 |
commit | 3e838ae9d379946644735d409821892850f7a07e (patch) | |
tree | 620afbb89177dc892326510312a1e76326a71a8c /ishtar_common/models.py | |
parent | ab31639d18abdaf2c035cdf803eede7398acda9f (diff) | |
download | Ishtar-3e838ae9d379946644735d409821892850f7a07e.tar.bz2 Ishtar-3e838ae9d379946644735d409821892850f7a07e.zip |
Documents: search by find basket
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 4 |
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' |