Bugzilla – Attachment 37173 Details for
Bug 13822
Patron autocomplete search is severly limited
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13822 [QA Followup] - Make search do a 'starts with' search
Bug-13822-QA-Followup---Make-search-do-a-starts-wi.patch (text/plain), 753 bytes, created by
Kyle M Hall (khall)
on 2015-03-24 11:29:11 UTC
(
hide
)
Description:
Bug 13822 [QA Followup] - Make search do a 'starts with' search
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-03-24 11:29:11 UTC
Size:
753 bytes
patch
obsolete
>From c58eaf6229966ac5481f3cdb2adff63764be6616 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13822
:
36808
|
37009
|
37024
|
37173
|
37177
|
37328
|
37331
|
37522