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

Filtering doesn't reset current page

    XMLWordPrintable

Details

    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-60828-master
    • Hide

      Setup

      1. Prepare a course with at least 50 users.

      Testing scenario

      1. Access as student to the participants page of this course.
      2. Go to the last page.
      3. Filter users (by name, email, group), with a result with less pages than all the participants.
        • CHECK that the first page is shown (there is a page=0 parameter in the URL).
        • CHECK that the participants page contains the users who meet selected filters.

       

      Show
      Setup Prepare a course with at least 50 users. Testing scenario Access as student to the participants page of this course. Go to the last page. Filter users (by name, email, group), with a result with less pages than all the participants. CHECK that the first page is shown (there is a page=0 parameter in the URL). CHECK that the participants page contains the users who meet selected filters.  

    Description

      Steps to reproduce this issue:

      1. Access to participants page of a course with at least 50 users.
      2. Access to last page.
      3. Filter users (by name, email, group), with a result with less pages than all the participants.
        • Expected: Show first page with first X participants which meet selected filters
        • Found: "Nothing to display. Show all XXXX" message is shown

      Problem: the page=X remain in the URL. It could be necessary to remove the page when a new filter is added/removed.

      Attachments

        Issue Links

          Activity

            People

              sarjona Sara Arjona (@sarjona)
              sarjona Sara Arjona (@sarjona)
              David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
              Andrew Lyons Andrew Lyons
              Janelle Barcega Janelle Barcega
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Mar/18