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 17:46:56 +0100 |
| commit | e346a2397b717caacfc03150361b1595bb250e27 (patch) | |
| tree | 76e041cae9a48470d8d8899216f9feb4e2ef9dc8 /ishtar_common/models_common.py | |
| parent | d03cf3dbfef808cda84b0f35c467e6d97829f6e5 (diff) | |
| download | Ishtar-e346a2397b717caacfc03150361b1595bb250e27.tar.bz2 Ishtar-e346a2397b717caacfc03150361b1595bb250e27.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 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]) |
