Issue Bug Closed

#108977[BUGFIX] Allow item group sort with keyword top

TYPO3 GmbH TYPO3com 02/13/26, 13:33 updated 08/11/26, 08:46

Description

Wrong nested fallback made any keywords next to `bottom`, which equals default and fallback take no effect because of override.

This issue was automatically created from https://github.com/TYPO3/typo3/pull/620

Reviews 3

History 312

  1. Sebastian Iffland commented and changed tracker Task Bug subject [BUGFIX] Allow correct item group sort-in [BUGFIX] Allow item group sort with keyword top Complexity trivial <span data-processor="relativetime" data-value="2026-02-17T07:08:12+00:00" > 02/17/26, 07:08 </span>

    Because of fallback to ‘bottom’ in any case nothing like ‘after:fieldname’ or ‘before:fieldname’ was set, the ‘top’ match arm could never be reached.
    By correct nesting fallback, this is fixed. In any case, no colon was found in position string, there is no need for fallback since default case takes over.

  2. Anonymous commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-06-05T13:45:11+00:00" > 06/05/26, 13:45 </span>

    Applied in changeset commit:b78cf51fa76e4fa6f5022a22f1256e889c02fd41.