Bugzilla – Attachment 89688 Details for
Bug 20514
Searching for a patrons using the address option doesn't work with streetnumber
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20514: Use streetnumber when searching for patrons by address
Bug-20514-Use-streetnumber-when-searching-for-patr.patch (text/plain), 1.38 KB, created by
Katrin Fischer
on 2019-05-13 19:42:33 UTC
(
hide
)
Description:
Bug 20514: Use streetnumber when searching for patrons by address
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-05-13 19:42:33 UTC
Size:
1.38 KB
patch
obsolete
>From 17a447be8a222ac0955523889b877377ed4e81a6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Sat, 11 May 2019 10:23:28 -0500 >Subject: [PATCH] Bug 20514: Use streetnumber when searching for patrons by > address > >The streetnumber field was ignored from the search. > >Test plan: >Create a patron with streetnumber="12", address="rue des cerisiers" >Search for patrons using the search field "street address" >using: 12 rue des cerisiers >=> Without this patch the patron will not be returned >=> With this patch applied it will! > >Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > C4/Utils/DataTables/Members.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Utils/DataTables/Members.pm b/C4/Utils/DataTables/Members.pm >index caf7a92152..9fb539e4f1 100644 >--- a/C4/Utils/DataTables/Members.pm >+++ b/C4/Utils/DataTables/Members.pm >@@ -90,7 +90,7 @@ sub search { > borrowernumber => 'borrowernumber', > userid => 'userid', > phone => 'phone,phonepro,B_phone,altcontactphone,mobile', >- address => 'streettype,address,address2,city,state,zipcode,country', >+ address => 'streetnumber,streettype,address,address2,city,state,zipcode,country', > dateofbirth => 'dateofbirth', > sort1 => 'sort1', > sort2 => 'sort2', >-- >2.11.0
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 20514
:
89609
|
89647
| 89688