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

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

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MOODLE_311_STABLE
    • MDL-73255-master
    • Hide
      1. Create a course with no groups
      2. Put it into a groupmode of "Visible groups"
      3. Enrol some students in the course
      4. Log in as one of the students and view the course
      5. Navigate to the participants page
        1. Confirm that you see all participants
        2. Confirm that there is only an empty participant filter
      Show
      Create a course with no groups Put it into a groupmode of "Visible groups" Enrol some students in the course Log in as one of the students and view the course Navigate to the participants page Confirm that you see all participants Confirm that there is only an empty participant filter

      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.

            dobedobedoh Andrew Lyons
            john.grosser@perspectives.org John Grosser
            Simey Lameze Simey Lameze
            Ilya Tregubov Ilya Tregubov
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.