1
0
forked from ScoDoc/ScoDoc

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"] name = partition["partition_name"]
if name is None: if name is None:
name = "Tous" name = "Tous"
if not partition_id:
selected = "selected"
H.append( H.append(
"""<option value="%s" %s>%s</option>""" """<option value="%s" %s>%s</option>"""
% (partition["partition_id"], selected, name) % (partition["partition_id"], selected, name)