From f804dfc0a48130eefe7048938c20d7d19a69caaf Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 22 Apr 2025 15:16:08 +0200 Subject: 🐛 fix table export with json fields in search (refs #6292) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_context_records/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archaeological_context_records') 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"), -- cgit v1.2.3