Skip to content
This repository was archived by the owner on Jun 15, 2018. It is now read-only.

Search order first and last name as an AND match #17

Open
tlovett1 opened this issue Mar 8, 2016 · 0 comments
Open

Search order first and last name as an AND match #17

tlovett1 opened this issue Mar 8, 2016 · 0 comments
Labels

Comments

@tlovett1
Copy link
Member

tlovett1 commented Mar 8, 2016

Right now, we are OR searching all the order fields:

'_order_key',
'_billing_company',
'_billing_address_1',
'_billing_address_2',
'_billing_city',
'_billing_postcode',
'_billing_country',
'_billing_state',
'_billing_email',
'_billing_phone',
'_shipping_address_1',
'_shipping_address_2',
'_shipping_city',
'_shipping_postcode',
'_shipping_country',
'_shipping_state',
'_billing_last_name',
'_billing_first_name',
'_shipping_first_name',
'_shipping_last_name',

_billing_last_name and _billing_first_name should be AND matched along with _shipping_last_name and _shipping_last_name. This will push exact name matches to the top of results.

@tlovett1 tlovett1 added the bug label Mar 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant