mirror of https://github.com/apache/cloudstack.git
ui: use executable template filter for users (#3214)
Problem: When reinstalling a VM, the UI only shows featured templates and not all possible list of allowed templates. Root Cause: The list of templates for reinstall used featured as filter in ‘listTemplates’ API which did not include all available options. Solution: The issue is fixed by using the executable template filter of the ‘listTemplates’ API to list all possible templates that a user is allowed to use to deploy a VM.
This commit is contained in:
parent
6c841bf69b
commit
4985e57f30
|
|
@ -1137,7 +1137,7 @@
|
|||
label: 'label.select.a.template',
|
||||
select: function(args) {
|
||||
var data = {
|
||||
templatefilter: 'featured'
|
||||
templatefilter: 'executable'
|
||||
};
|
||||
$.ajax({
|
||||
url: createURL('listTemplates'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue