diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-04-22 15:16:08 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-04-23 10:48:32 +0200 |
commit | f804dfc0a48130eefe7048938c20d7d19a69caaf (patch) | |
tree | 84206796b1048bd9e46ab353f272c4c5e703266b /archaeological_context_records/models.py | |
parent | aded77feef3381632281dcc005160e2cb0c6b4dc (diff) | |
download | Ishtar-f804dfc0a48130eefe7048938c20d7d19a69caaf.tar.bz2 Ishtar-f804dfc0a48130eefe7048938c20d7d19a69caaf.zip |
🐛 fix table export with json fields in search (refs #6292)
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r-- | archaeological_context_records/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index e929e9957..4c642a464 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -746,6 +746,8 @@ class ContextRecord( ALT_NAMES.update(GeoItem.ALT_NAMES) ALT_NAMES.update(Imported.ALT_NAMES) + DEFAULT_SEARCH_FORM = ("archaeological_context_records.forms", "RecordSelect") + BASE_SEARCH_VECTORS = [ SearchVectorConfig("label", "raw"), SearchVectorConfig("location"), |