mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #4726 from natefoo/panel-hidden-fix
[17.09] If the newest version of a tool is hidden, load the newest older version, if any, into the tool panel
This commit is contained in:
@@ -264,6 +264,9 @@ class AbstractToolBox(Dictifiable, ManagesIntegratedToolPanelMixin, object):
|
||||
# See if a version of this tool is already loaded into the tool panel.
|
||||
# The value of panel_component will be a ToolSection (if the value of
|
||||
# section=True) or self._tool_panel (if section=False).
|
||||
if tool.hidden:
|
||||
log.debug("Skipping tool panel addition of hidden tool: %s, version: %s", tool.id, tool.version)
|
||||
return
|
||||
tool_id = str(tool.id)
|
||||
tool = self._tools_by_id[tool_id]
|
||||
log_msg = ""
|
||||
|
||||
Reference in New Issue
Block a user