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:
Rohit Yadav 2019-03-29 12:13:26 +05:30 committed by GitHub
parent 6c841bf69b
commit 4985e57f30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1137,7 +1137,7 @@
label: 'label.select.a.template',
select: function(args) {
var data = {
templatefilter: 'featured'
templatefilter: 'executable'
};
$.ajax({
url: createURL('listTemplates'),