Review main Abandoned

60825[BUGFIX] Make "first subpage" shortcuts redirect to first translated page

Christian Eßl CR 0 V 0 Normal +74 −12 updated 07/05/23, 21:10

Commit message

When a shortcut page is set to "first subpage of selected/current page"
as shortcut mode, it is usually supposed to redirect to the first subpage.

When "hidePagesIfNotTranslatedByDefault" is set in the admin tool, this
will lead to a 404 error, when the first subpage in the page tree has no
translation for the current frontend language. This patch makes sure,
when "hidePagesIfNotTranslatedByDefault" is set, to actually fetch the
first _translated_ page.

Review

  • Code review CR 0

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

  • Verified V 0

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

Issues 1

Files 3