From 17a447be8a222ac0955523889b877377ed4e81a6 Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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 Signed-off-by: Katrin Fischer --- 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