]> git.koha-community.org Git - koha.git/commit
Search Patrons - Make patron search more forgiving.
authorKyle M Hall <kyle.m.hall@gmail.com>
Thu, 4 Mar 2010 16:15:47 +0000 (16:15 +0000)
committerGalen Charlton <gmcharlt@gmail.com>
Fri, 30 Apr 2010 02:45:29 +0000 (22:45 -0400)
commitdb8bda86ea9325651e29a24df7cefbc0c86bee20
treefc36517b1f2df76d51bfbaee811b44d34a872ab0
parent9a989c9e58724682b75a13910865ceb6c143f262
Search Patrons - Make patron search more forgiving.

Patron search has only been searching fields for names
that either match or begin with the given search terms.

This is too strict a search.
For example, take the name "Billie Jo Robinson", "Billie Jo"
being the firstname, and "Robinson" being the last name. If one
were to search for "Billie Jo", this patron would not appear in
the search results.

 To remedy this, the search
type has been changed from 'begins_with' to 'contain'.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
members/member.pl