Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-69302

Multilang filter not applied properly to labels in tags index page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.4, 3.9.1, 3.10
    • Fix Version/s: None
    • Component/s: Tags
    • Labels:
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE

      Description

      When looking at the activities/resources linked to a tag, multilang content is not applied, so you see the whole string of multiple languages.

       

      Steps to re-produce:

      • Make sure multilang filter is enabled
      • Go to a course
      • Add a label
      • Edit the HTML in the editor and add the following as the label HTML:
        • <span lang="en" class="multilang">English Content</span><span lang="nl" class="multilang">Dutch Content</span>
      • Add the tag "test" to the label and save
      • Go to moodlesite/tag/index.php
      • Search for your "test" tag or click on it if it's there already
      • Under "Activities and Resources" you should see your label, without the multilang applied: "English ContentDutch Content"

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            cwarwicker C Warwicker
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: