From 189bd8ef96e18afc40b06bca1177c113b0dd42e4 Mon Sep 17 00:00:00 2001 From: Regis Millet Date: Wed, 23 Sep 2020 16:46:43 +0200 Subject: [PATCH] Fixing issue #95 This little PR fixes issue https://github.com/mollie/spree-mollie-gateway/issues/95 --- app/views/spree/admin/orders/index.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/spree/admin/orders/index.html.erb b/app/views/spree/admin/orders/index.html.erb index d06f50d..3196033 100644 --- a/app/views/spree/admin/orders/index.html.erb +++ b/app/views/spree/admin/orders/index.html.erb @@ -114,7 +114,7 @@
<%= label_tag :q_store_id_in, Spree.t(:store) %> - <%= f.select :store_id_in, Spree::Store.order("#{Spree::Store.table_name}.name").pluck(:name, :id), {include_blank: true}, class: 'select2' %> + <%= f.select :store_id_in, Spree::Store.order(:name).pluck(:name, :id), {include_blank: true}, class: 'select2' %>
@@ -240,4 +240,4 @@ <%= render 'spree/admin/shared/index_table_options', collection: @orders, simple: true %> -<%= render 'spree/admin/shared/styles' %> \ No newline at end of file +<%= render 'spree/admin/shared/styles' %>