[MGNLUI-7034] DOC: TasksDataSourceDefinition supports sorting Created: 14/Feb/22  Updated: 20/Jul/22  Resolved: 23/Feb/22

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.17
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Ashraf Khamis Assignee: Ashraf Khamis
Resolution: Done Votes: 0
Labels: Datasource, nucleus, tasks
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
documentation
documents MGNLUI-6699 Tasks app: introduce default sorting ... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Nucleus Quality Maintenance
Sprint: Nucleus 4
Story Points: 3
Team: Nucleus

 Description   

info.magnolia.task.app.TasksDataSourceDefinition now supports sorting.

The sortBy property in info.magnolia.task.app.TasksDataSourceDefinition allows you to define a list of JCR properties for the data source to sort by.

sortBy:
  mgnl:lastModified: descending #Default order

Page to update: https://docs.magnolia-cms.com/product-docs/6.2/Apps/List-of-apps/Tasks-app/Tasks-data-source.html



 Comments   
Comment by Ashraf Khamis [ 23/Feb/22 ]

Added the new sortBy property to https://docs.magnolia-cms.com/product-docs/6.2/Apps/List-of-apps/Tasks-app/Tasks-data-source.html and updated https://docs.magnolia-cms.com/product-docs/6.2/Apps/List-of-apps/Tasks-app.html.

Reviewed by Sang & Roman.

Generated at Mon Feb 12 09:42:28 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.