diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-03-08 13:18:44 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-03-08 13:53:26 +0100 |
commit | 4135c16fc28925ba8a42006d1e2849829b7e4ddd (patch) | |
tree | 5ceaff0b2e85bb35944a697fff2d3d2e76e9546d /ishtar_common/wizards.py | |
parent | 5ec494564251e27e3f802e6c1aec3c6aa1890488 (diff) | |
download | Ishtar-4135c16fc28925ba8a42006d1e2849829b7e4ddd.tar.bz2 Ishtar-4135c16fc28925ba8a42006d1e2849829b7e4ddd.zip |
Site: quick add operation action (refs #4450)
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r-- | ishtar_common/wizards.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index c2383e2de..fa14d9827 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -1334,7 +1334,10 @@ class Wizard(IshtarWizard): if not data: data = MultiValueDict() key = key if key.startswith(form_key) else form_key + "-" + key - data[key] = value + if isinstance(value, list): + data.setlist(key, value) + else: + data[key] = value storage.set_step_data(form_key, data) @classmethod |