Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
6.2.15, 6.2.20
-
None
-
Empty show more show less
-
Yes
-
Nucleus 18
-
3
Description
Steps to reproduce
- Add the following definition to any linkField (can be tested on demo page):
datasource:
$type: jcrDatasource
workspace: category
rootPath: /destinations
includeProperties: true
describeByProperty: displayName
sortBy:
displayName: descending
- Open such element dialog and check the generated list.
Expected results
List appears ordered as stated on the definition.
Actual results
List won't appear ordered unless allowedNodeTypes is defined.
Workaround
Adding the allowedNodeTypes parameter allows the list to be properly ordered:
datasource:
$type: jcrDatasource
workspace: category
rootPath: /destinations
includeProperties: true
allowedNodeTypes:
- mgnl:folder
- mgnl:category
describeByProperty: displayName
sortBy:
displayName: descending
Development notes
Checklists
Acceptance criteria
Attachments
1.
|
Implementation |
|
Closed | Antonín Juran |
2.
|
Code review |
|
Completed | Roman Kovařík |
3.
|
Pre-integration QA |
|
Completed | Jaromir Sarf |
4.
|
Final QA |
|
Completed | Adam Siska |
5.
|
Write unit tests |
|
Completed | Antonín Juran |