[MGNLUI-6617] DOC: Update sorting properties in DatasourceDefinition Created: 15/Mar/21  Updated: 02/Jun/21  Resolved: 17/Mar/21

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

Type: Task Priority: Neutral
Reporter: Ashraf Khamis Assignee: Ashraf Khamis
Resolution: Done Votes: 0
Labels: Datasource, content-app, new-UI-framework, new-data-binding
Remaining Estimate: Not Specified
Time Spent: 0.25h
Original Estimate: Not Specified

Issue Links:
documentation
documents MGNLUI-3814 Allow configuration of defaultOrder i... Closed
documents MGNLUI-5994 Deprecate sortable in favor of sortBy... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: UI framework implementation
Sprint: UI FW 24
Story Points: 3

 Description   

See https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/pull-requests/1742/overview:

  • New sortBy in jcrDatasource
    sortBy
    optional
    List of JCR properties the data source sorts by. Possible values for SortDirection (https://vaadin.com/api/framework/8/com/vaadin/shared/data/sort/SortDirection.html) are ascending and descending.
  • New sortable = false in optionListDatasource
  • Deprecated sortable and sortByProperties in BaseDatasourceDefinition
     Delete sortable and sortByProperties from the list of properties in jcrDatasource

Pages to update:



 Comments   
Comment by Ashraf Khamis [ 17/Mar/21 ]

Deleted sortable and sortByProperties, added sortBy and updated the example definition at https://docs.magnolia-cms.com/product-docs/Apps/App-configuration/Data-source-definition/JCR-data-source.html. Added sortable to https://docs.magnolia-cms.com/product-docs/Apps/App-configuration/Data-source-definition/Option-list-data-source.html.

Reviewed by Milan.

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