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

    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      wip-mdl-38332

      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

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

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