Fix: partition par defaut sur tableau bord module

This commit is contained in:
viennet 2020-12-24 11:47:13 +01:00
parent de6d0233ac
commit 7efe8cd194

View File

@ -270,6 +270,8 @@ def moduleimpl_status(context, moduleimpl_id=None, partition_id=None, REQUEST=No
name = partition["partition_name"]
if name is None:
name = "Tous"
if not partition_id:
selected = "selected"
H.append(
"""<option value="%s" %s>%s</option>"""
% (partition["partition_id"], selected, name)