Issue Bug Closed

#59297sorting.direction in Content Object FILES has no stdWrap

Lorenz Ulrich 06/02/14, 21:07 updated 10/02/18, 11:56

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?

Reviews 2