← Back to team overview

mahara-contributors team mailing list archive

[Bug 1536452] A change has been merged

 

Reviewed:  https://reviews.mahara.org/5954
Committed: https://git.mahara.org/mahara/mahara/commit/8d571ebb92c1745afc2417b405fecf669bd86fae
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch:    master

commit 8d571ebb92c1745afc2417b405fecf669bd86fae
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Thu Jan 21 16:27:50 2016 +1300

Bug 1536452: Admin user search giving wrong results

When paginating then searching

See bug for testing info

behatnotneeded

Change-Id: I344cdfe28aee0f8182cfa6214f4dd9611f5666c1
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

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