Actions
Bug #85485
closedJsonView forces order by UID
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2018-07-05
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When I want to get ordered records from a repository and provide it through the JsonView, the result is reordered by UID.
How to reproduce:
- Install
static_info_tables
andstatic_info_tables_de
- Use a controller with overwritten view to JsonView
- Use the configuration
'zones' => [ '_descendAll' => [ '_only' => ['localName', 'uid'] ] ]
- Use the countryZoneRepository and the method
findByCountryOrderedByLocalizedName()
- You'll get all zones of one country ordered by the localized name
- Assign it to the view
- Call this action via e.g. page type
- You'll get the zones ordered by UID
Actions