Project

General

Profile

Actions

Bug #78295

closed

getQuery does not respect orderBy

Added by Tobi Kretschmann about 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
Start date:
2016-10-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

Description

\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer getQuery()

$this->getQueryConstraints($table, $conf); returns the correct $queryParts Array but the orderBy is not used in the resulting SQL Statement.

Because of this the content elements shown in frontend are not ordered anymore.

Used like this:

lib.dynamicContent = COA
lib.dynamicContent{
...

20 = CONTENT
20 {
    table = tt_content
    select {
        includeRecordsWithoutDefaultTranslation = 1
        where = colPos=0
        pidInList = this
        orderBy = sorting
    }
}

...
}

Actions #1

Updated by Susanne Moog about 8 years ago

  • Target version set to 8.4
  • Sprint Focus set to Stabilization Sprint
Actions #2

Updated by Gerrit Code Review about 8 years ago

  • Status changed from New 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/50246

Actions #3

Updated by Gerrit Code Review about 8 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/50246

Actions #4

Updated by Anonymous about 8 years ago

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

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF