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>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 97ec0a2e4b)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
c276dd6397
commit
64747f5c42
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue