Review 11.5 Merged

72875[BUGFIX] Fix ordering of db mounts in page tree

Benjamin Franzke CR +2 V +2 Easy +44 −6 updated 01/04/22, 14:59

Commit message

With the changes in #95854, database mounts
are no longer sorted by the order they are defined in
the group/user settings, but undefined by the
order the database returns.

DB mounts aren't sorted against each other,
that means sorting values are not meaningful anyway,
and results in uncontrolable orderings.

Explicitly preserve the order using usort().
Also revert groupAndSortPages() to the state prior
to #95854, as the forcePid parameter would now be unused.

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
  • Verified V +2 Done
    • Benjamin Franzke +2
    • core-ci +1 CI

Issues 2

Files 3

Review log 34

  1. Benjamin Franzke commented on patch set 1 01/04/22, 14:34

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 01/04/22, 14:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/21596

  3. Benjamin Franzke voted on patch set 1 V +2 CR +2 01/04/22, 14:59

  4. Benjamin Franzke merged patch set 2 01/04/22, 14:59