diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-12-05 19:23:00 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-12-05 19:23:00 +0100 |
commit | 6d89609a716ec59397517c0b0446f9568de16a4a (patch) | |
tree | 87b17f11a99854d0ccdf2c1c3ad637da0d12c17c | |
parent | 832959a1228c062d18ba9e4303c1e5a69d852272 (diff) | |
download | Ishtar-6d89609a716ec59397517c0b0446f9568de16a4a.tar.bz2 Ishtar-6d89609a716ec59397517c0b0446f9568de16a4a.zip |
QA bulk edit: fix confirm
-rw-r--r-- | ishtar_common/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py index e7f73f2d9..18e32cd76 100644 --- a/ishtar_common/forms.py +++ b/ishtar_common/forms.py @@ -747,9 +747,9 @@ class QAForm(CustomForm, ManageOldType): for v in kwargs['data'].getlist(k): dct_choices = dict(self.fields[k].choices) if v in dct_choices: - values.append(dct_choices[v]) + values.append(unicode(dct_choices[v])) elif int(v) in dct_choices: - values.append(dct_choices[int(v)]) + values.append(unicode(dct_choices[int(v)])) self.fields[k].rendered_value = mark_safe( u" ; ".join(values)) if k not in self.REPLACE_FIELDS: |