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

mod_glossary_get_entries_by_letter: order can be different than in web

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.10.3
    • Fix Version/s: None
    • Component/s: Glossary, Web Services
    • Labels:
    • Affected Branches:
      MOODLE_310_STABLE

      Description

      I discovered this in a glossary in one of our testing sites.

      This glossay has an entry whose concept is "Analysis". The thing is that the actual concept is "\ufeffAnalysis", it has an "invisible" unicode character at the beginning. In Moodle web, this entry is displayed in the "Special" category when sorting by letter.

      However, the WebService mod_glossary_get_entries_by_letter returns this entry along with the entries that begin with "A" (at least when retrieving letter=ALL).

      IMO in this case it would be better to "trim" the concept and always display it in the "A" letter (both in web and in LMS), but I'm not sure if that's easy. In any case, it should have the same behavious in both cases.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dpalou Dani Palou
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: