Bugzilla – Attachment 6409 Details for
Bug 7053
inner name patron searching fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch on SQLHelper.pm
0001-Bug-7053-patron-name-search.patch (text/plain), 896 bytes, created by
Adrien SAURAT
on 2011-11-25 14:25:38 UTC
(
hide
)
Description:
Proposed patch on SQLHelper.pm
Filename:
MIME Type:
Creator:
Adrien SAURAT
Created:
2011-11-25 14:25:38 UTC
Size:
896 bytes
patch
obsolete
>From d82ea45b6b05bc6bee44965a72351ea460ecc03c Mon Sep 17 00:00:00 2001 >From: Adrien Saurat <adrien.saurat@biblibre.com> >Date: Fri, 25 Nov 2011 14:52:53 +0100 >Subject: [PATCH] Bug 7053: patron name search > >Allows search on names containing spaces. >Example: "LA JOIE" >Allows search on strings included in name >Example: "james acevedo" to find "henry hames acevedo III" >--- > C4/SQLHelper.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/SQLHelper.pm b/C4/SQLHelper.pm >index a15beb8..a3af4a6 100644 >--- a/C4/SQLHelper.pm >+++ b/C4/SQLHelper.pm >@@ -403,7 +403,7 @@ sub _Process_Operands{ > } > if ($searchtype eq "start_with"){ > push @tmpkeys,("$field LIKE ?","$field LIKE ?"); >- push @localvaluesextended, ("$operand\%", " $operand\%") ; >+ push @localvaluesextended, ("$operand\%", "\% $operand\%") ; > } > push @values,@localvaluesextended; > } >-- >1.7.4.1 >
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 7053
:
6409
|
10025