sorting by $TCA foreign_sortby vs. foreign_default_sortby
IRRE expects foreign_sortby to be a manual sorting field!
This setting triggers sorting controls in Backend and when saved IRRE tries to update the field values!
This is documented and intended behaviour of IRRE!
In extbase we need another way to get proper sorting of child records. To me it seems like support for
'foreign_default_sortby' is the way to go (if we stick with $TCA).
#3 Updated by Felix Oertel over 8 years ago
- Status changed from Under Review to Accepted
- Assignee set to Felix Oertel
- Target version set to Extbase 6.0
- Start date changed from 2011-06-23 to 2012-07-22
foreign_default_sortby can only used with non-MM relations. with MM relations foreign_sorting is always used to manual order the records. for non-MM relations extbase has to support the ordering (asc and desc) of child records of course.
the current patch is abandoned because it tries to solve the rejected issue  as well and is too difficult (SQL string split). we will try to come up with a solution at #ecs12s, but feel free to work on this!