Sorting of csv relation is always ordered by uid
|Priority:||-- undefined --||Due date:|
|Category:||Extbase: Generic Persistence|
|Target version:||Extbase 6.1|
when a relation is of type csv the order of the objectStorage is always by uid even if the order is changed manualy in the BE. The problem is that you can't set a order field with csv relations.
The solution is to add ORDER BY FIELD to the sql query.
I made a patch to add this order statement if no order is set for the query. Please have a look.
Updated by Matthias Krappitz over 1 year ago
We can confirm this and would love to see this patch in extbase. This is a bug, that should affect many more people that just us.
Updated by Alexander Claes over 1 year ago
Same problem here! We tried this bugfix and it works very well for us.
Updated by Gerrit Code Review 8 months ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14452
Updated by Alexander Schnitzler 6 months ago
- Tracker changed from Bug to Feature
May change orderings in some environments. So this is a feature and we should think about making this configurable.
Updated by Gerrit Code Review about 1 month ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/14452