app/assets/javascripts/spree/backend/checkouts/edit.js in spree_backend-3.2.5 vs app/assets/javascripts/spree/backend/checkouts/edit.js in spree_backend-3.2.6
- old
+ new
@@ -19,10 +19,17 @@
url: Spree.routes.users_api,
datatype: 'json',
cache: true,
data: function(term, page) {
return {
- q: term,
+ q: {
+ 'm': 'or',
+ 'email_start': term,
+ 'ship_address_firstname_start': term,
+ 'ship_address_lastname_start': term,
+ 'bill_address_firstname_start': term,
+ 'bill_address_lastname_start': term
+ },
token: Spree.api_key
}
},
results: function(data, page) {
return { results: data.users }