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

Group filter is reset when moving to next page of enrolled users

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Generate a M-sized test course
      2. Create some automatic group (5 will do)
      3. Go to course administration->users->enrolled users
      4. Add a group filter and press the "filter" button
      5. Observe that the group filter is reflected on the resultant page, and that the query string has something similar to "&filtergroup=1" (or whatever the selected group was) in it
      6. Go to the next page of results and ensure that the instructions in the above step still hold true
      Show
      Generate a M-sized test course Create some automatic group (5 will do) Go to course administration->users->enrolled users Add a group filter and press the "filter" button Observe that the group filter is reflected on the resultant page, and that the query string has something similar to "&filtergroup=1" (or whatever the selected group was) in it Go to the next page of results and ensure that the instructions in the above step still hold true
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-48073-master

      Description

      For courses containing large numbers of users with different roles it's desirable to filter out roles as well as groups of users when searching the enrolled users list. In the case that I encountered this issue, we have 'revision students' with viewing rights (who studied the topic last year but need access to the content) as well as 'students' taking the course this year. If you apply both a role filter and a group filter, when you click to move to the next page (if the list is longer than one page) the group filter is removed (but the role filter remains).
      The expected result is that all filters that are applied should remain in place between pages until actively removed.
      Thanks, Gordon.

        Attachments

          Activity

            People

            Assignee:
            nsetru nivedita setru
            Reporter:
            gordonmc Gordon McLeod
            Peer reviewer:
            Dave Cooper
            Integrator:
            Andrew Nicols
            Tester:
            Frédéric Massart
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              2/Feb/15