← Back to team overview

mahara-contributors team mailing list archive

[Bug 1536452] A patch has been submitted for review

 

Patch for "master" branch: https://reviews.mahara.org/5954

-- 
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/1536452

Title:
  Admin user search returns no results when results exist

Status in Mahara:
  In Progress

Bug description:
  There is a scenario where you can get  'No results found' message and
  'X results' at the same time

  To replicate:

  - Have a database with  many users in it, say 100
  - Have 5 users only with the same last name

  Go to the  Administration -> Users -> User search page
  (admin/users/search.php)

  Go to the last page of users in pagination

  Now type in the 'Search: (All institutions)' box the name you want to
  search for and click 'Search'

  You should see 'No results found' message but also '5 results' at the
  same time

  This is because the search is trying to use the pagination offset
  rather than beginning at offset 0

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


References