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

Applied filters are lost after performing certain actions

XMLWordPrintable

    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-60579-master
    • Hide

      Test 1

      1. Create a course
      2. Go to course Participants page
      3. Enrol several students
      4. Enrol one teacher
      5. Filter by role 'Teacher'
        • make sure only one participant (teacher) is displayed
      6. Unenrol the teacher
        • after unenrolment action:
          •  make sure the filter is still present and no participants are displayed
          •  if the filter is present, make sure it's displayed by it's name (ex. Role: Teacher) and not by it's value (ex. 4:3)

      Test this scenario for all other filters (last activity filter, enrolment method, course group, status) and make sure it works.
      NOTE: For testing the last activity filter you can manually modify the timeaccess column record in the user_lastaccess tbl for one course participant to test the filter for different time ranges.

      Test 2

      1. Go to Site administration -> Development -> Make test course
      2. In the Make test course page:
        • select 'Size of course' = M (~100MB; create in ~2 minutes)
        • add a 'Course short name'
        • click 'Create course'
        • after creating the course click 'Continue'
      3. Go to the course's 'Participants' page
      4. Filter by role 'Student'
      5. Filter by First name, Surname
        • make sure filtering works and the 'Student' role filter is still present
      6. Click on the pagination links
        • make sure that the pagination works correctly and all filters are sill present
      Show
      Test 1 Create a course Go to course Participants page Enrol several students Enrol one teacher Filter by role 'Teacher' make sure only one participant (teacher) is displayed Unenrol the teacher after unenrolment action:   make sure the filter is still present and no participants are displayed   if the filter is present, make sure it's displayed by it's name (ex. Role: Teacher) and not by it's value (ex. 4:3) Test this scenario for all other filters (last activity filter, enrolment method, course group, status) and make sure it works. NOTE : For testing the last activity filter you can manually modify the timeaccess column record in the user_lastaccess tbl for one course participant to test the filter for different time ranges. Test 2 Go to Site administration -> Development -> Make test course In the Make test course page: select 'Size of course' = M (~100MB; create in ~2 minutes) add a 'Course short name' click 'Create course' after creating the course click 'Continue' Go to the course's 'Participants' page Filter by role 'Student' Filter by First name, Surname make sure filtering works and the 'Student' role filter is still present Click on the pagination links make sure that the pagination works correctly and all filters are sill present

      To reproduce:

      1. Enrol one or more users to a course C1.
      2. Apply one or more filters. Make sure that at least one participant is returned.
      3. Unenrol a user listed in the filtered participants.
      4. Expected
        • The applied filters will still be applied after the page has refreshed.
      5. Actual
        • The applied filters are lost after performing the enrolment action

      The same happens when filtering by first/last name and also with paging.

            Geshoski Mihail Geshoski
            jpataleta Jun Pataleta
            Adrian Greeve Adrian Greeve
            David Monllaó David Monllaó
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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