You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "CharlesQueiroz (via GitHub)" <gi...@apache.org> on 2023/08/10 11:30:45 UTC

[GitHub] [cloudstack] CharlesQueiroz commented on issue #7278: Unable to order the ISO/templates in the UI

CharlesQueiroz commented on issue #7278:
URL: https://github.com/apache/cloudstack/issues/7278#issuecomment-1673045457

   Guys, I reproduced the problem, and the ordering is not being maintained. I discovered that the issue is due to using a Hashtable instead of a LinkedHashMap when returning the results to the front end.
   
   As Hashtable does not maintain the insertion order, it returns the list similarly. I've created a PR that solves this problem. 
   
   Here: https://github.com/apache/cloudstack/pull/7844
   
   If anyone could take a look, I'd appreciate it.


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org