Skip to content

Commit

Permalink
Fixing issue #95
Browse files Browse the repository at this point in the history
This little PR fixes issue #95
  • Loading branch information
Kulgar authored Sep 23, 2020
1 parent de26f4a commit 189bd8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/spree/admin/orders/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<div class="col-xs-12 col-md-4">
<div class="form-group">
<%= 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' %>
</div>
</div>

Expand Down Expand Up @@ -240,4 +240,4 @@
<%= render 'spree/admin/shared/index_table_options', collection: @orders, simple: true %>
<%= render 'spree/admin/shared/styles' %>
<%= render 'spree/admin/shared/styles' %>

0 comments on commit 189bd8e

Please sign in to comment.