summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archaeological_context_records/models.py3
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"),