From e346a2397b717caacfc03150361b1595bb250e27 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 11 Feb 2026 16:19:18 +0100 Subject: 🐛 CSV export: fix export of json field when a json field is used as search (refs #6602) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/models_common.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ishtar_common/models_common.py') diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index c68d3252b..9ce5b9e70 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -1005,7 +1005,9 @@ class FullSearch(models.Model): @classmethod def get_default_search_form(cls): # DEFAULT_SEARCH_FORM is used to get the form when exporting tables + # necessary to manage correctly search with json fields if not cls.DEFAULT_SEARCH_FORM: + print(f"**WARNING** DEFAULT_SEARCH_FORM not specified for {cls}") return form = getattr(import_module(cls.DEFAULT_SEARCH_FORM[0]), cls.DEFAULT_SEARCH_FORM[1]) -- cgit v1.2.3