From 8c2e76a5de79af6e249028dd11c28c450e8adbfa Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 24 Mar 2015 07:27:03 -0400 Subject: [PATCH] [Signed-off] Bug 13822 [QA Followup] - Make search do a 'starts with' search MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Search uses now a 'starts with' search. Maxbe an other Sign-off is needed from a library with a huge number of patrons (see Katrins comment #8) Signed-off-by: Marc VĂ©ron --- circ/ysearch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/ysearch.pl b/circ/ysearch.pl index 7c563cf..3a7d59e 100755 --- a/circ/ysearch.pl +++ b/circ/ysearch.pl @@ -45,7 +45,7 @@ if ($auth_status ne "ok") { $term =~ s/,//g; #remove any commas from search string my $order_by = 'surname, firstname'; -my ($results) = Search( $term, $order_by, [ 10 ] ); +my ($results) = Search( $term, $order_by, [ 10 ], undef, undef, "start_with" ); print "["; my $i = 0; -- 1.7.10.4