Reviewed: https://reviews.mahara.org/5954 Committed: https://git.mahara.org/mahara/mahara/commit/8d571ebb92c1745afc2417b405fecf669bd86fae Submitter: Aaron Wells ([email protected]) Branch: master
commit 8d571ebb92c1745afc2417b405fecf669bd86fae Author: Robert Lyon <[email protected]> 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 <[email protected]> -- 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 _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

