Review 9.5 Merged

61371[BUGFIX] Support multiple order by fields in PageRepository

Frank Nägler CR +2 V +2 Easy +1 −1 updated 08/06/19, 12:49

Commit message

The method PageRepository::getSubpagesForPages allows an arbitrary
number of orderBy fields, though the way it is passed to the
query builder, only the last field is used.

This patch simply changes the DBAL call to ->addOrderBy to ensure
all set order by fields are used, in the order they are defined.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1