@@ -, +, @@ search links --- installer/data/mysql/atomicupdate/bug_33117.pl | 2 +- .../prog/en/modules/admin/preferences/circulation.pref | 8 ++++---- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 2 +- .../opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 2 +- members/member.pl | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) --- a/installer/data/mysql/atomicupdate/bug_33117.pl +++ a/installer/data/mysql/atomicupdate/bug_33117.pl @@ -8,7 +8,7 @@ return { my ($dbh, $out) = @$args{qw(dbh out)}; # Do you stuffs here $dbh->do(q{INSERT INTO systempreferences (`variable`,`value`,`explanation`,`options`,`type`) VALUES - ('PatronAutoCompleteSearchMethod','1','Allows staff to search for patrons using the method','Starts with|Contains','YesNo'}); + ('PatronAutoCompleteSearchMethod','1','Allows staff to search for patrons using the method','Starts with|Contains','YesNo')}); say $out "Added new system preference 'PatronAutoCompleteSearchMethod'"; }, --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref @@ -27,10 +27,10 @@ Circulation: - to guess the patron being entered while typing a patron search for circulation or patron search. - Only returns the first 10 results at a time. - - - pref: PatronAutoCompleteSearchMethod - choices: - 1: Starts with - 0: "Contains" + - pref: PatronAutoCompleteSearchMethod + choices: + 1: Starts with + 0: "Contains" - Enable this search method to determine whether to use Starts with or Contains for autocomplete patron searches. - - pref: itemBarcodeInputFilter --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -1265,7 +1265,7 @@ - a_t + t --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1506,7 +1506,7 @@ - a_t + t --- a/members/member.pl +++ a/members/member.pl @@ -54,7 +54,7 @@ if ( $quicksearch and $searchmember && !$circsearch ) { } my $patron = Koha::Patrons->find( { cardnumber => $searchmember } ); if ( - $patron + 0 and $patron and ( ( $branchcode and $patron->branchcode eq $branchcode ) or ( not $branchcode ) ) ) --