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

Site admin - Browse users does not paginate properly for multiples of 30 users

    XMLWordPrintable

Details

    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • wip-mdl-38332
    • Hide
      1. Set up a site so that it has exactly 30 users
      2. Go to Site admin > users > browse list of users
      3. Make sure 30 users are shown and there is NO pagination option
      4. Add an additional user
      5. Now there is a link to show 'Page 2' and all 31 users are visible
      6. delete a user (back to 30) and make sure all 30 users are visible.
      Show
      Set up a site so that it has exactly 30 users Go to Site admin > users > browse list of users Make sure 30 users are shown and there is NO pagination option Add an additional user Now there is a link to show 'Page 2' and all 31 users are visible delete a user (back to 30) and make sure all 30 users are visible.

    Description

      To reproduce...

      • Set up a site so that it has exactly 30 users
      • Go to Site admin > users > browse list of users
      • Only 29 are shown and there is NO pagination option
      • Add an additional user
      • Now there is a link to show 'Page 2' and all 31 users are visible
      • delete a user (back to 30) and the bottom one is missing again

      There is an error in the pagination code. It is showing 29 users per page rather than 30 most probably.

      Attachments

        Activity

          People

            rajeshtaneja Rajesh Taneja
            howardsmiller Howard Miller
            Sam Hemelryk Sam Hemelryk
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Rossiani Wijaya Rossiani Wijaya
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              18/Mar/13