diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-10-30 00:35:27 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-10-30 00:35:27 +0100 |
commit | 0885e689a30bd53da2c6595b7f237d4bf6e6a958 (patch) | |
tree | bd65a1d7a80f01f9421191e5a4538b6a6e0ea879 | |
parent | 44bd95f480524b07222b9ca56cbb8d15061b806e (diff) | |
download | Ishtar-0885e689a30bd53da2c6595b7f237d4bf6e6a958.tar.bz2 Ishtar-0885e689a30bd53da2c6595b7f237d4bf6e6a958.zip |
get_objet: fix related object management
-rw-r--r-- | ishtar_common/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/views.py b/ishtar_common/views.py index efd7a9de1..ad8b10f35 100644 --- a/ishtar_common/views.py +++ b/ishtar_common/views.py @@ -532,7 +532,7 @@ def get_item(model, func_name, default_name, extra_request_keys=[], else: for idx, v in enumerate(vals): new_vals.append(u"{}{}{}".format( - my_vals[idx], u' - ', format_val(v))) + vals[idx], u' - ', format_val(v))) my_vals = new_vals[:] data.append(", ".join(my_vals) or u"") datas.append(data) |