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

Only able to filter course participants by first and last initial in languages using A-Z alphabet

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.9
    • Fix Version/s: 3.9
    • Component/s: Course
    • Testing Instructions:
      Hide

      Setup

      1. Make sure you have a course with some enrolled users.
      2. Create or rename users so you have the following enrolled in the course:
        First name Last name
        Darrell Abbott
        Vincent Abbott
        Rex Brown
        המורה טרי
      1. Log in as admin and install the Hebrew language pack (_עברית ‎(he)‎‎_) via Site administration > Language > Language packs.
        Note: Keep the site set to English for the time being.

      Testing - English

      1. Navigate to the Participants page in the course.
      2. CONFIRM all users enrolled in the course are visible and the first name and surname filters are set to "All".
      3. Select "D" in the first name filter.
      4. CONFIRM the participants list now contains only users beginning with D (including Darrell Abbott).
      5. Select "A" in the Surname filter.
      6. CONFIRM the participants list now contains only Darrell Abbott (and any other users you have that may have the initials DA).
      7. Select "All" in the first name filter.
      8. CONFIRM the participants list now contains only users with surname beginning with "A" (including both Darrell and Vincent Abbott).
      9. Add "&tifirst=v&tilast=a" to the end of the current page URL and press enter.
      10. CONFIRM when the participants page reloads, only Vincent Abbott is visible (and any other users that have initials VA).
      11. Remove "&tifirst=v&tilast=a" from the end of the current page URL and press enter.
      12. If the first name or surname filters are not set to "All", update them to that value.
      13. The participants page should now be loaded with no filtering in place.

      Testing - RTL non-English characters (Hebrew)

      1. Select Hebrew (he) from the language dropdown at the top of the page.
      2. CONFIRM you now see the RTL version of the participants page, with all enrolled users listed.
      3. In the first name filter (שם פרטי), select the "ה" character (it should be the fifth one from the right of what is already selected).
      4. CONFIRM the participants list now only contains the user you named המורה טרי during setup.
      5. Change the first name filter to another letter and CONFIRM you now see no users listed.
      6. Return the first name filter to the all option (the הכל option on the far right of the filter).
      7. CONFIRM all participants are again listed.
      8. In the surname filter (שם משפחה), select the "ט" character (it should be the ninth one from the right of what is already selected).
      9. CONFIRM the participants list now only contains the user you named המורה טרי during setup.
      10. Change the surname filter to another letter and CONFIRM you now see no users listed.
      11. Return the surname filter to the all option (the הכל option on the far right of the filter).
      12. Add "&tifirst=ה&tilast=ט" to the end of the current page URL and press enter.
      13. CONFIRM when the participants page reloads, only the user you named המורה טרי during setup is visible.
      Show
      Setup Make sure you have a course with some enrolled users. Create or rename users so you have the following enrolled in the course: First name Last name Darrell Abbott Vincent Abbott Rex Brown המורה טרי Log in as admin and install the Hebrew language pack (_עברית ‎(he)‎‎_) via Site administration > Language > Language packs. Note: Keep the site set to English for the time being. Testing - English Navigate to the Participants page in the course. CONFIRM all users enrolled in the course are visible and the first name and surname filters are set to "All". Select "D" in the first name filter. CONFIRM the participants list now contains only users beginning with D (including Darrell Abbott). Select "A" in the Surname filter. CONFIRM the participants list now contains only Darrell Abbott (and any other users you have that may have the initials DA). Select "All" in the first name filter. CONFIRM the participants list now contains only users with surname beginning with "A" (including both Darrell and Vincent Abbott). Add "&tifirst=v&tilast=a" to the end of the current page URL and press enter. CONFIRM when the participants page reloads, only Vincent Abbott is visible (and any other users that have initials VA). Remove "&tifirst=v&tilast=a" from the end of the current page URL and press enter. If the first name or surname filters are not set to "All", update them to that value. The participants page should now be loaded with no filtering in place. Testing - RTL non-English characters (Hebrew) Select Hebrew (he) from the language dropdown at the top of the page. CONFIRM you now see the RTL version of the participants page, with all enrolled users listed. In the first name filter (שם פרטי), select the "ה" character (it should be the fifth one from the right of what is already selected). CONFIRM the participants list now only contains the user you named המורה טרי during setup. Change the first name filter to another letter and CONFIRM you now see no users listed. Return the first name filter to the all option (the הכל option on the far right of the filter). CONFIRM all participants are again listed. In the surname filter (שם משפחה), select the "ט" character (it should be the ninth one from the right of what is already selected). CONFIRM the participants list now only contains the user you named המורה טרי during setup. Change the surname filter to another letter and CONFIRM you now see no users listed. Return the surname filter to the all option (the הכל option on the far right of the filter). Add "&tifirst=ה&tilast=ט" to the end of the current page URL and press enter. CONFIRM when the participants page reloads, only the user you named המורה טרי during setup is visible.
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
      MDL-68745-master-2
    • Sprint:
      Moppies Kanban

      Description

      When course UI language is set to Hebrew (RTL mode), I am unable to filter Hebrew (or English) first and last name course participants.
      (I am getting an endless cycling "loading..." animation)

       

      Can be experienced when logging as "Terri Teacher" into https://qa.moodledemo.net/

      Changing "Terri Teacher" name to "המורה טרי" and trying the filter "ט" first name letter on:

      https://qa.moodledemo.net/user/index.php?id=2

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michaelh Michael Hawkins
              Reporter:
              nadavkav Nadav Kavalerchik
              Peer reviewer:
              Shamim Rezaie
              Integrator:
              Sara Arjona (@sarjona)
              Tester:
              Sara Arjona (@sarjona)
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/20

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 hours, 17 minutes
                  1d 2h 17m