Bug #59297

sorting.direction in Content Object FILES has no stdWrap

Added by Lorenz Ulrich about 7 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-06-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

I remember a decision that new TypoScript properties should always be stdWrap enabled, but I'm not sure if it is strict policy.

The sorting.direction subproperty of FileContentObject currently lacks stdWrap:

            if (is_array($conf['sorting.']) && isset($conf['sorting.']['direction']) && strtolower($conf['sorting.']['direction']) === 'desc') {
                $fileObjects = array_reverse($fileObjects);
            }

What do you think about adding it?


Related issues

Related to TYPO3 Core - Feature #56213: Sorting Filelists by FAL attributes and provide sorting direction optionClosed2014-02-22

Actions
#1

Updated by Markus Klein about 7 years ago

+1 for adding it!

#2

Updated by Gerrit Code Review over 6 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 http://review.typo3.org/35723

#3

Updated by Gerrit Code Review over 6 years ago

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

#4

Updated by Gerrit Code Review over 6 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35922

#5

Updated by Mathias Schreiber over 6 years ago

  • Status changed from Under Review to Resolved
#7

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF