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

Add "Participants Per Page" configuration setting for site

    XMLWordPrintable

Details

    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • participants_per_page_MDL-41498
    • Hide
      1. Log in as admin and create a course with more than 20 participants and some activities.
      2. Visit the course and go to the participants page.
      3. Confirm there are 20 participants listed per page.
      4. Go to Website-Administration / Courses / Course default settings
      5. Adjust the setting moodlecourse / participantsperpage (e.g. to 10)
      6. Visit the courses participants page again.
      7. Confirm the number of participants listed per page has changed 'participantsperpage' value.
      8. Go to Reports > Course participation.
      9. Select an Activity module and Show only = Student and 'Go'.
      10. Confirm the number of participants listed per page is 'participantsperpage' value.
      Show
      Log in as admin and create a course with more than 20 participants and some activities. Visit the course and go to the participants page. Confirm there are 20 participants listed per page. Go to Website-Administration / Courses / Course default settings Adjust the setting moodlecourse / participantsperpage (e.g. to 10) Visit the courses participants page again. Confirm the number of participants listed per page has changed 'participantsperpage' value. Go to Reports > Course participation. Select an Activity module and Show only = Student and 'Go'. Confirm the number of participants listed per page is 'participantsperpage' value.

    Description

      Altering the default listing of participants in a course can only be done by editing the user index file found under wwwroot/user/index.php

      The setting is found on line 11 : define('DEFAULT_PAGE_SIZE', 20);

      Altering the numerical value within this line is the only way to change the number of participants appearing on a page.

      A course or site wide configuration setting would improve this functionality.

      Attachments

        Issue Links

          Activity

            People

              rschrenk Robert Schrenk
              jmcdougale@learninghouse.com Jacob McDougale
              Amaia Anabitarte Amaia Anabitarte
              Ilya Tregubov Ilya Tregubov
              Sujith Haridasan Sujith Haridasan
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona), David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              8 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/May/22

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 16 minutes
                  4h 16m