diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-11-23 15:45:59 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:49 +0200 |
commit | 373698a5e3584b578da6d50e26b14fd82f79ab61 (patch) | |
tree | 4faaa97d962670fdabcb88d408e07f95e4c8f423 /archaeological_context_records/models.py | |
parent | 5bcb673673f4909edab72baaf3457772f3a62abe (diff) | |
download | Ishtar-373698a5e3584b578da6d50e26b14fd82f79ab61.tar.bz2 Ishtar-373698a5e3584b578da6d50e26b14fd82f79ab61.zip |
Context record search: common name criteria must be exact
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r-- | archaeological_context_records/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index 257e378ce..a5608c8d0 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -505,7 +505,8 @@ class ContextRecord( pgettext_lazy("key for text search", "operation-year"), "operation__year" ), "operation__common_name": SearchAltName( - pgettext_lazy("key fro text search", "operation-name"), "operation__common_name__icontains" + pgettext_lazy("key for text search", "operation-name"), + "operation__common_name__iexact" ), "operation__code_patriarche": SearchAltName( pgettext_lazy("key for text search", "patriarche"), |