[koha-commits] main Koha release repository branch 3.20.x updated. v3.20.04-17-g1e029d8

Git repo owner gitmaster at git.koha-community.org
Fri Oct 23 15:10:41 CEST 2015


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, 3.20.x has been updated
       via  1e029d82ac0d34a64d4bab37fd60c89f71d47a13 (commit)
      from  0ff168c82ce940ef862e1d695c0e3ac66369dbe6 (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 1e029d82ac0d34a64d4bab37fd60c89f71d47a13
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Sep 22 15:04:14 2015 +0100

    Bug 14871: Extend the patrons search to search like %$term% (checkout tab)
    
    The patrons search used by the checkout tab and the autocomplete is not
    the same as the "search patrons" tab.
    The main difference is the "contain" vs "start with".
    So that if you have a patron with a patron with a surname "foo bar" and
    you search for "foo bar", the autocomplete and the result of a search by
    the checkout tab will search for "foo%" or "bar%" which won't return the
    patron you are search for.
    
    This patch replaces both autocomplete and checkout tab searches with a
    "contain" search. The search will be "%foo%" or "%bar%".
    Note that on big DB, this can cause unexpected results.
    
    Test plan:
    Create a patron with a surname "foo bar"
    Search for "bar" using the checkout tab.
    You should see the patron in the autocomplete result and the result page
    after submitting the search form.
    
    Followed test plan, works as expected.
    Signed-off-by: Marc Véron <veron at veron.ch>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at unc.edu.ar>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    (cherry picked from commit 4353cd1958be8de81224647cbae62f5382b96eaa)
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

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

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


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list