-
Improvement
-
Resolution: Done
-
Neutral
-
6.2.7
In Apps, the newly added configuration sortBy in jcrDatasource does not handle the case of jcrName, where this special property is mapped to the sql statement ORDER BY NAME ASC|DESC.
This is already done in info.magnolia.ui.contentapp.JcrQueryBuilder#orderBy for sorting nodes manually, but not for the configured datasource properties. Please add the node name handling to the sortBy implementation and document it.
Then it would be possible to configure a jcrDatasource as follows.
app.yaml
datasource: $type: jcrDatasource sortBy: jcrName: ascending
Patch added.
Acceptance criteria
- caused by
-
MGNLUI-3814 Allow configuration of defaultOrder in grids: descending or ascending
- Closed
- links to