← Back to team overview

mahara-contributors team mailing list archive

[Bug 513485] Re: User search (find friends) returns conflicting results

 

** Changed in: mahara
       Status: Fix Committed => Fix Released

-- 
User search (find friends) returns conflicting results
https://bugs.launchpad.net/bugs/513485
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: Fix Released

Bug description:
User Search returns conflicting or confusing results.  It seems to search users with active profiles (views) but gets its count of search results from a different query (I believe this is all happening in search/internal/lib.php).  I search for "smith" and get one result but the result counter shows "217 users" and has appropriate pagination links.  Clicking on those links results in "No search results found."  

Ideally, the search should return all users we've populated into the database regardless of their login or data population status -- showing empty profiles if viewed is fine with us -- but we'd settle for the search numbers at least being consistent.

Running v1.2.2 against PostgreSQL 8.2.x.