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
Updated by Markus Klein over 1 year ago
I fail to reproduce this. Any array passed to JsonView returned in identical sorting.
Updated by Riccardo De Contardi about 1 year ago
- Status changed from New to Needs Feedback
Hi, may I ask if this issue is still relevant on recent TYPO3 versions like 11 or 12?
Updated by Christian Kuhn 11 months ago
- Status changed from Needs Feedback to Closed
Hey. I hope it's ok to close here for now.
Actions