[ https://issues.apache.org/jira/browse/CLOUDSTACK-9006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982837#comment-14982837 ]
ASF GitHub Bot commented on CLOUDSTACK-9006: -------------------------------------------- Github user bhaisaab commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1009#discussion_r43523867 --- Diff: framework/db/src/com/cloud/utils/db/Filter.java --- @@ -89,7 +89,7 @@ public void addOrderBy(Class<?> clazz, String field, boolean ascending) { if (_orderBy == null) { _orderBy = order.insert(0, " ORDER BY ").toString(); } else { - _orderBy = order.insert(0, _orderBy).toString(); + _orderBy = order.insert(0, _orderBy + ", ").toString(); --- End diff -- @rags22489664 also recommend if this should also go into 4.5 branch? > ListTemplates API returns result in inconsistent order when called > concurrently > ------------------------------------------------------------------------------- > > Key: CLOUDSTACK-9006 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9006 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: API > Reporter: Ramamurti Subramanian > Assignee: Ramamurti Subramanian > -- This message was sent by Atlassian JIRA (v6.3.4#6332)