sureshanaparti commented on issue #5731: URL: https://github.com/apache/cloudstack/issues/5731#issuecomment-999425925
> Through testing, I found the problem is that when getting listTemplates with `showunique: true` it sorts wrong. But when I remove this parameter, the returned data is sorted correctly, but the result is a sequence of duplicate samples. As far as I can see is it coming from the API? > > * With `showunique: true` >  > * Without `showunique: true` >  @utchoang With 'showunique: true', API returns unique templates irrespective of zones, and without 'showunique: true', all the templates in the zones are returned. So, if a template is registered for mutiple/all zones, it is present multiple times. From UI, the templates are always listed with 'showunique: true'. -- 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]
