[koha-commits] main Koha release repository branch master updated. v16.05.00-960-g56da7be

Git repo owner gitmaster at git.koha-community.org
Tue Sep 27 17:20:45 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  56da7be50ada38bab6ec866f5915d55507c7d821 (commit)
      from  5eb4b06f5b892552944d9b9ca7852a332d4b3c3e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 56da7be50ada38bab6ec866f5915d55507c7d821
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Sat Sep 24 19:25:33 2016 +0000

    Bug 17352 - Patron search type is hard coded to 'contain' in circ/circulation.pl
    
    The patron search type is hard coded to 'contain' in
    circ/circulation.pl.
    
    This causes problems because a mis-scanned cardnumber can bring up the
    wrong patron.
    
    The example that our partner gave us involved scanning '1733', which
    doesn't match any borrowers when we do a 'start_with' search, but
    matches the cardnumber 'p291733'.
    
    If we follow the usage in members/member.pl, we can set searchtype in
    HTTP params, which is amenable to fixes in intranetuserjs
    
    Test Plan:
    1) Apply this patch
    2) Use the checkout search, not changes should be noted
    
    Extra credit:
    1) Add javascript to intranetuserjs to add a hidden input named
    'searchtype' with the value 'start_with'
    2) Checkout searches should now give only results where a searched
       field starts with the given string(s)
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-----------------------------------------------------------------------

Summary of changes:
 circ/circulation.pl |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list