]> git.koha-community.org Git - koha.git/commit
Bug 9407: patrons search should match substrings
authorMJ Ray <mjr@phonecoop.coop>
Wed, 16 Jan 2013 20:13:57 +0000 (20:13 +0000)
committerChris Cormack <chris@bigballofwax.co.nz>
Fri, 1 Feb 2013 08:24:29 +0000 (21:24 +1300)
commit6844ccbfe1ce04ea6bae9f84b81b6bfadf2436f9
treefb44997c8e5d0fbc903fc387bd3a137b2d722966
parenta6f2e86fa2b4725abb5c3506c5f57b374bfcc984
Bug 9407: patrons search should match substrings

    If a patron lives at 4345 Library Rd, a search on Street Address for
    Library should find it. However, it does not, but a search for 4345
    Library does.  This patch adds a "Search Type" drop-down, defaulting
    to the current behaviour.

    To test:
    1) Search for a patron based on a non-leading part of a field.
    2) Should return no results.
    3) Search again with "Search Type" of "Contains".
    4) Should return the patron.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
members/member.pl