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

Participants list is loosing filter in Bootstrap2 themes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.3
    • Fix Version/s: None
    • Labels:
      None
    • Workaround:
      Hide
      1. Select the filter.
      2. Scroll to the bottom of the page and look at the value of the Show all ## link. In this case, that means there are ## participants in selected filter.
      3. Change the URL line: https://domainname/user/index.php?contextid=199&id=4&perpage=20 (default)
        to https://domainname/user/index.php?contextid=199&id=4&perpage=## (## in this case because that is the value of all participants) and press enter.
      4. RESELECT the filter and now you will see all ## entries since the URL is now set to show ## per page.
      Show
      Select the filter. Scroll to the bottom of the page and look at the value of the Show all ## link. In this case, that means there are ## participants in selected filter. Change the URL line: https://domainname/user/index.php?contextid=199&id=4&perpage=20 (default) to https://domainname/user/index.php?contextid=199&id=4&perpage=## (## in this case because that is the value of all participants) and press enter. RESELECT the filter and now you will see all ## entries since the URL is now set to show ## per page.
    • Affected Branches:
      MOODLE_34_STABLE

      Description

      If a Bootstrap2 theme is used (e.g. Clean or More) the participants list into a course is loosing selected filters, when you reload the page.

      This happens when going to the next page (paging)

      Testing instructions:

      • Use a Bootstrap 2 theme like "Clean" or "More".
      • Have a course with more than 20 enrolled users.
      • Have more than 20 users into the same role or group.
      • Go to the list of participants into the course (/user/index.php?id=XYZ)
      • Select into the filter search form / drop-down the group or role with more than 20 users.
      • Go to page 2 of the list

      Now the filter is not selected anymore, you will receive the second page of all users. (without a filter)

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lucaboesch Luca Bösch
                Reporter:
                jjhauber J. Jakob Hauber
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                4 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: