Actions
Bug #87352
closedTCA "ctrl" "default_sortby" does not work with multiple fields due to new queryBuilder
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
Start date:
2019-01-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
tca, default_sortby, querybuilder
Complexity:
Is Regression:
Sprint Focus:
Description
Having multiple fields defined for "default_sortby" in the ctrl TCA section doesn't work anymore.
in "typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php:3322" the array of the fields is iterated, but the new queryBuilder only supports the omitting of one orderby field.
This is leading to the last defined field is used for the actual order by.
Greetings
Daniel
Actions