From c58eaf6229966ac5481f3cdb2adff63764be6616 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 24 Mar 2015 07:27:03 -0400 Subject: [PATCH] Bug 13822 [QA Followup] - Make search do a 'starts with' search --- circ/ysearch.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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.2.5