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

User Participants filter leaves invalid group filter row if no groups are present

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.10.8, 3.11.4
    • 3.11.5
    • Groups

    Description

      Symptoms:

      When logged in as a Student, (plus Non-grading Teacher, Teacher or other non-Manager/site-level? roles), a newly created class with zero duration (start date == end date) and visible groups, (plus security and role visibility settings set to allow students to see other participants)

      ...the Participation filters are "automatically" set to 
      Set Any
          Set Any Select
        OR
          Set Any Select

      ... but NOT Applied, leading to an empty set and "0 participants  found"

      Clicking the Apply filters button reveals the participants.

      View upon page refresh:

       

       

      View after Applied filters button is clicked:

        

       

      HOW TO REPRODUCE THIS BEHAVIOR:

      As an administrator or manager

      1. From the site administration Course and category management page click Create new course (any category should do).
      2. After naming the course (full and short) set
        Course end date identical to the Course start date
        Groups > Group mode to Visible groups
      3. Click Save and display
      4. Navigate to the Participants page and enroll any student.
      5. From the upper right "account" control select Switch role to...
      6. Select Student role
      7. When the Participants page is rendered the anomolous filters appear and 0 participants are found.
      8. Click the Apply filters button to reveal 1 paricipant, the student you enrolled.

      Demonstrated on  Moodle 3.10.8 (Build: 20211108) in Chrome desktop browser Version 96.0.4664.45 on Windows 10.

      Attachments

        Activity

          People

            dobedobedoh Andrew Lyons
            john.grosser@perspectives.org John Grosser
            Simey Lameze Simey Lameze
            Ilya Tregubov Ilya Tregubov
            Gladys Basiana Gladys Basiana
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              17/Jan/22

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 3 minutes
                2h 3m