mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #4834 from blankenberg/multiple-initial-single-select-param
[17.09] Fix for single select list initial value when multiple options are selected by default.
This commit is contained in:
@@ -910,7 +910,7 @@ class SelectToolParameter(ToolParameter):
|
||||
value = options[0][1]
|
||||
else:
|
||||
value = None
|
||||
elif len(value) == 1:
|
||||
elif len(value) == 1 or not self.multiple:
|
||||
value = value[0]
|
||||
return value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user