Project

General

Profile

Actions

Bug #87352

closed

TCA "ctrl" "default_sortby" does not work with multiple fields due to new queryBuilder

Added by Daniel Dorndorf almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
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

Also available in: Atom PDF