kiranchavala opened a new issue, #7278:
URL: https://github.com/apache/cloudstack/issues/7278
##### ISSUE TYPE
* Bug report
##### COMPONENT NAME
~~~
Componet:UI
Componet:api
~~~
##### CLOUDSTACK VERSION
~~~
4.18 nightly
4.17.2
~~~
##### SUMMARY
Unable to order the ISO/templates in the UI
Steps to reproduce the issue
1. Login as admin user
2. Navigate to Images> Iso
3. Register a sample iso (as a admin user)
4. Try to move the Order the registerd iso
Move to the top
Move to the bottom
Move up one row
Move down one row
Similarly for Images> Templates
1. It works partially
Api calls
https://cloudstack.apache.org/api/apidocs-4.17/apis/updateIso.html
In the backend updateIso api call is executed with sorkey
It updates the database table vm_template.sort_key
~~~
MariaDB [cloud]> select name,sort_key from vm_template where format='iso' ;
+---------------------------------+----------+
| name | sort_key |
+---------------------------------+----------+
| vmware-tools.iso | 5 |
| xs-tools.iso | 3 |
| v1.24.0-Kubernetes-Binaries-ISO | 6 |
| v1.23.3-Kubernetes-Binaries-ISO | 4 |
| v1.22.6-Kubernetes-Binaries-ISO | 2 |
| rocky | 7 |
+---------------------------------+----------+
6 rows in set (0.00 sec
~~~
##### EXPECTED RESULTS
~~~
Admin User should be able to order the iso's and template based on his
requirement
~~~
##### ACTUAL RESULTS
~~~
user is unable to order the iso's and template based on his requirement
~~~

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]