Predicate query sort order

mjb54261515

30-04-2019

When I run a predicate query with sling:resourceType= apples/components/page/article and orderby=@jcr:content/cq:lastModified&orderby.sort=desc

I get results with  sling:resourceType= apples/components/page/article but I dont see sort order working.

http://localhost:4502/bin/querybuilder.json?path=/content/apples/en&property=sling:resourceType&prop...

path=/content/apples/en&property=sling:resourceType&property.value=apples/components/page/article&orderby=@jcr:content/cq:lastModified&orderby.sort=desc

Is there any issue with my query? Can some one help me with that

Accepted Solutions (1)

Accepted Solutions (1)

mjb54261515

30-04-2019

Figured it out

path=/content/apples/en

type=cq:Page

property=@jcr:content/sling:resourceType

property.value=apples/components/page/article

orderby=@jcr:content/cq:lastModified

orderby.sort=desc

Answers (0)