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 over 5 years ago. Updated almost 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 #1

Updated by Andreas Kienast over 5 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Gerrit Code Review over 5 years ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59356

Actions #3

Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59358

Actions #4

Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59356

Actions #5

Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59358

Actions #6

Updated by Andreas Fernandez over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Gerrit Code Review over 5 years ago

  • Status changed from Resolved to Under Review

Patch set 3 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59358

Actions #8

Updated by Andreas Fernandez over 5 years ago

  • Status changed from Under Review to Resolved
Actions #9

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF