Bug #59297

sorting.direction in Content Object FILES has no stdWrap

Added by Lorenz Ulrich about 6 years ago. Updated over 1 year ago.

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

0%

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 option Closed 2014-02-22

Associated revisions

Revision 9ac0e8d3 (diff)
Added by Benni Mack over 5 years ago

[BUGFIX] Add stdWrap to sorting.direction for FILES

Add the missing stdWrap support for the sorting direction
property of the new FILES cObject.

Resolves: #59297
Releases: master, 6.2
Change-Id: I827f3318419824a9b125b04a09fdd4f7dde443fd
Reviewed-on: http://review.typo3.org/35723
Reviewed-by: Michael Oehlhof <>
Reviewed-by: Andreas Fernandez <>
Reviewed-by: Mathias Schreiber <>
Tested-by: Mathias Schreiber <>
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>

Revision 442f7067 (diff)
Added by Benni Mack over 5 years ago

[BUGFIX] Add stdWrap to sorting.direction for FILES

Add the missing stdWrap support for the sorting direction
property of the new FILES cObject.

Resolves: #59297
Releases: master, 6.2
Change-Id: I827f3318419824a9b125b04a09fdd4f7dde443fd
Reviewed-on: http://review.typo3.org/35922
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>

History

#1 Updated by Markus Klein about 6 years ago

+1 for adding it!

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

#4 Updated by Gerrit Code Review over 5 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 5 years ago

  • Status changed from Under Review to Resolved

#7 Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF