If inputting a street address of street number and street name which are stored in different db fields (e.g. 'streetnumber' and 'address') this does not return patron results. If however the street number and name are stored in the same db field then results are returned for your search query. At present the only way to search with the search field of address is to either enter ONLY a streetnumber OR a street name unless they are both stored in the same db field.
Is there any chance of this being patched in 18.05?
Created attachment 89609 [details] [review] 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!
Created attachment 89647 [details] [review] 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>
Created attachment 89688 [details] [review] 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>
Awesome work all! Pushed to master for 19.05
Pushed to 18.11.x for 18.11.06
Pushed to 18.05 for 18.05.14