← Back to team overview

mahara-contributors team mailing list archive

[Bug 1272121] [NEW] Paginator on /admin/users/search.php doesn't respect institution setting

 

Public bug reported:

Mahara 1.8

When you are on /admin/users/search.php and have at least one
institution set up besides "No institution" and have more than 10 users
in the institution, the paginator does not respect the chosen
institution when you click on the next page / any other page.

It reverts back to showing all results no matter whether they are
institution members or not.

This might be a regression because I think it worked in an earlier
version of Mahara. It usually only affects site admins or institution
admins who are admins in more than one institution.

Test scenario:

1. Set up 1 institution besides "No institution".
2. Add 30 users to that institution.
3. Add 20 users to "No institution".
4. Limit the user search on /admin/users/search.php to the institution that you created. If you have lots of users with the same name (at least 11), you can limit further by that name.
5. Click on a number in the paginator. Expected: You still only see results from your institution. Actual: You see all users from the institution.

** Affects: mahara
     Importance: High
         Status: Confirmed


** Tags: paginator regression

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1272121

Title:
  Paginator on /admin/users/search.php doesn't respect institution
  setting

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Mahara 1.8

  When you are on /admin/users/search.php and have at least one
  institution set up besides "No institution" and have more than 10
  users in the institution, the paginator does not respect the chosen
  institution when you click on the next page / any other page.

  It reverts back to showing all results no matter whether they are
  institution members or not.

  This might be a regression because I think it worked in an earlier
  version of Mahara. It usually only affects site admins or institution
  admins who are admins in more than one institution.

  Test scenario:

  1. Set up 1 institution besides "No institution".
  2. Add 30 users to that institution.
  3. Add 20 users to "No institution".
  4. Limit the user search on /admin/users/search.php to the institution that you created. If you have lots of users with the same name (at least 11), you can limit further by that name.
  5. Click on a number in the paginator. Expected: You still only see results from your institution. Actual: You see all users from the institution.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1272121/+subscriptions


Follow ups

References