diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-02-11 16:19:18 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-02-12 10:43:18 +0100 |
| commit | be6fc87760c8558f83a4ba6617776e132c1de6c6 (patch) | |
| tree | dbcc984bfd64950eff492d71b028cf06e076a626 /ishtar_common/models_common.py | |
| parent | 9d348ebd98b3405305365b5da36cb3c2b2956198 (diff) | |
| download | Ishtar-be6fc87760c8558f83a4ba6617776e132c1de6c6.tar.bz2 Ishtar-be6fc87760c8558f83a4ba6617776e132c1de6c6.zip | |
🐛 CSV export: fix export of json field when a json field is used as search (refs #6602)
Diffstat (limited to 'ishtar_common/models_common.py')
| -rw-r--r-- | ishtar_common/models_common.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index 4a2881083..a94eadb80 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]) |
