-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
Yes
-
Saigon 132, Saigon 133
-
2
Currently if you supply orderBy in a query, but omit the direction, the query has an exception with a cryptic error message.
The query should work when no direction is supplied and default to 'asc' as a direction.
To reproduce:
Use this URL: https://demopublic.magnolia-cms.com/.rest/delivery/tours/v1/?orderBy=location
Get this result:
{{Query:
SELECT * FROM [nt:base] AS t WHERE ([jcr:primaryType] = 'mgnl:content') ORDER BY t.[locatio(*)n; expected: a token}}
Acceptance criteria