diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-03-08 14:06:52 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-03-08 14:06:52 +0100 |
commit | 9cb715d77b1f864399023f16c56a6dc088ef5ef1 (patch) | |
tree | 1541eb69ea0e75ac362242b50778c98ee8dd91c2 /archaeological_context_records/models.py | |
parent | 4135c16fc28925ba8a42006d1e2849829b7e4ddd (diff) | |
download | Ishtar-9cb715d77b1f864399023f16c56a6dc088ef5ef1.tar.bz2 Ishtar-9cb715d77b1f864399023f16c56a6dc088ef5ef1.zip |
Context record search: add identification and activity criteria (refs #3657)
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r-- | archaeological_context_records/models.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index 3ff8f9d3f..8fd0a5ade 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -612,6 +612,13 @@ class ContextRecord( "unit": SearchAltName( pgettext_lazy("key for text search", "unit-type"), "unit__label__iexact" ), + "activity": SearchAltName( + pgettext_lazy("key for text search", "activity"), "activity__label__iexact" + ), + "identification": SearchAltName( + pgettext_lazy("key for text search", "identification"), + "identification__label__iexact" + ), "parcel": SearchAltName( pgettext_lazy("key for text search", "parcel"), "parcel__cached_label__iexact", |