Fixing template filtering by plugin name
Filtering the node group templates and cluster templates tables by plugin was failing because it was using the incorrect field name. It has now been updated to search against "plugin_name", which is correct. Change-Id: I41760fa9cfa714cf1c9ae90229cb48ff759289fc Closes-Bug: #1503235
This commit is contained in:
parent
57666482da
commit
6463f35bf6
|
@ -29,7 +29,7 @@ LOG = logging.getLogger(__name__)
|
|||
class ClusterTemplatesFilterAction(tables.FilterAction):
|
||||
filter_type = "server"
|
||||
filter_choices = (('name', _("Name"), True),
|
||||
('plugin', _("Plugin"), True),
|
||||
('plugin_name', _("Plugin"), True),
|
||||
('hadoop_version', _("Version"), True),
|
||||
('description', _("Description")))
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ LOG = logging.getLogger(__name__)
|
|||
class NodeGroupTemplatesFilterAction(tables.FilterAction):
|
||||
filter_type = "server"
|
||||
filter_choices = (('name', _("Name"), True),
|
||||
('plugin', _("Plugin"), True),
|
||||
('plugin_name', _("Plugin"), True),
|
||||
('hadoop_version', _("Version"), True))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue