[Building Sakai] Searching for a user by their full name (KNL-691)

Steve Swinsburg steve.swinsburg at gmail.com
Sat Mar 19 06:25:10 PDT 2011


Update: I've attached a preliminary patch to https://jira.sakaiproject.org/browse/KNL-691

This allows full name searches, at least from profile2. There are other kernel methods that need to be touched for it to work in the Users tool (countSearchUsers for one.\.

cheers,
Steve

On 19/03/2011, at 11:34 PM, Steve Swinsburg wrote:

> Hi all,
> 
> Presently it is not possible to search for a user by their full name due to the way the SQL queries are structured. So a search for 'Sakai' will find the user, and a search for 'Administrator' will find the user, but a search for 'Sakai Administrator' will find nothing.
> 
> This is a long standing issue. I have reported this as:
> https://jira.sakaiproject.org/browse/KNL-691
> 
> A possible and very simple solution is to split the search string on whitespace and then perform multiple searches for each term, combining the lists and removing duplicates. This is trivial to implement but I wanted to gather some feedback from the community about this and other possible fixes.
> 
> Thoughts?
> 
> cheers,
> Steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110320/8805fe99/attachment.html 


More information about the sakai-dev mailing list