diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-05-09 17:52:08 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-05-09 17:52:08 +0200 |
commit | c3309b29195d6c48914534360883acd543e23e20 (patch) | |
tree | 09567953848bbc095e1eaad8abb193993512e2af /ishtar_common/models.py | |
parent | 88051c68f3fba47bf37aee7b0cb6763f04f33a02 (diff) | |
download | Ishtar-c3309b29195d6c48914534360883acd543e23e20.tar.bz2 Ishtar-c3309b29195d6c48914534360883acd543e23e20.zip |
Fix container search for documents
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index c4beb0bff..fd3a49789 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2569,7 +2569,7 @@ class Organization(Address, Merge, OwnPerms, BaseGenderedType, ValueGetter, Main ), "precise_town_id": SearchAltName( pgettext_lazy("key for text search", "precise-town"), - "precise_town_id__cached_label", + "precise_town_id", ), } QA_EDIT = QuickAction( @@ -4056,11 +4056,11 @@ class Document( ), "warehouse_container": SearchAltName( pgettext_lazy("key for text search", "warehouse-container"), - "container__cached_label__iexact", + "wcontainer_id", ), "warehouse_container_ref": SearchAltName( pgettext_lazy("key for text search", "warehouse-container-reference"), - "container_ref__cached_label__iexact", + "wcontainer_ref_id", ), "comment": SearchAltName( pgettext_lazy("key for text search", "comment"), "comment__iexact" |