Review main Merged

35695[TASK] Remove language "default" from Alternative Page Language and hide record type when not necessary

Benni Mack CR +2 V +2 Easy +27 −3 updated 01/03/15, 16:00

Commit message

hide record type when not necessary

The pages_language_overlay table has a sys_language_uid
field, but (like all other records) it is filled with "default".
However, due to the concept of two tables for translations
with pages and pages_language_overlay, the default
value does not make any sense and rather causes trouble
within the core when set to "0" / "default".

The patch removes the static entry from the language
dropdown of a pages_language_overlay record.

See also further discussion on forge.

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 2