Review main Merged

54750[BUGFIX] Better sorting localizing records from non-default language

Tobias Liebig CR +2 V +2 Hard +259 −71 updated 11/20/21, 10:34

Commit message

Using the "translate" button in page module and localizing
records from non-default language may lead to funny content
element sorting in the target language.

This has been mitigated with probably #85300 and #84951
a while ago already, but there still exists a codewise
misbehavior in DataHandler::getPreviousLocalizedRecordUid().

The patch streamlines the method and applies a fix so
records calculate the correct "before" uid even in
"localization of a localization" context.

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 4

Files 16