Issue Bug Closed

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

Daniel Dorndorf 01/07/19, 15:21 updated 05/07/19, 12:12

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

Reviews 2