app/assets/javascripts/spree/backend/views/order/customer_select.js in solidus_backend-2.10.5 vs app/assets/javascripts/spree/backend/views/order/customer_select.js in solidus_backend-2.11.0

- old
+ new

@@ -24,19 +24,18 @@ } this.$el.select2({ placeholder: Spree.translations.choose_a_customer, ajax: { - url: Spree.routes.users_api, + url: Spree.pathFor('api/users'), params: { "headers": { 'Authorization': 'Bearer ' + Spree.api_key } }, datatype: 'json', data: function(term, page) { return { q: { m: 'or', email_start: term, - addresses_firstname_start: term, - addresses_lastname_start: term + firstname_or_lastname_start: term } } }, results: function(data, page) { return {