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

Filtering doesn't reset current page

    XMLWordPrintable

    Details

    • Testing Instructions:
      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.  
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-60828-master

      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

        1. 1.PNG
          32 kB
          Janelle Barcega

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  19/Mar/18