diff --git a/backend/app/views/spree/admin/products/index.html.erb b/backend/app/views/spree/admin/products/index.html.erb
index 95e171e4d8b..4a009a96f4d 100644
--- a/backend/app/views/spree/admin/products/index.html.erb
+++ b/backend/app/views/spree/admin/products/index.html.erb
@@ -71,8 +71,8 @@
<%= Spree::Variant.human_attribute_name(:sku) %> |
|
- <%= sort_link @search,:name, Spree::Product.human_attribute_name(:name), { default_order: "desc" }, {title: 'admin_products_listing_name_title'} %> |
- <%= sort_link @search,:master_default_price_amount, Spree::Product.human_attribute_name(:price), {}, {title: 'admin_products_listing_price_title'} %> |
+ <%= sort_link @search,:name, Spree::Product.human_attribute_name(:name), { default_order: "desc", title: 'admin_products_listing_name_title'} %> |
+ <%= sort_link @search,:master_default_price_amount, Spree::Product.human_attribute_name(:price), {title: 'admin_products_listing_price_title'} %> |
|
diff --git a/backend/app/views/spree/admin/users/index.html.erb b/backend/app/views/spree/admin/users/index.html.erb
index 23818ae0a91..fd922000edf 100644
--- a/backend/app/views/spree/admin/users/index.html.erb
+++ b/backend/app/views/spree/admin/users/index.html.erb
@@ -69,7 +69,7 @@
- <%= sort_link @search, :email, Spree.user_class.human_attribute_name(:email), {}, {title: 'users_email_title'} %> |
+ <%= sort_link @search, :email, Spree.user_class.human_attribute_name(:email), {title: 'users_email_title'} %> |
<%= Spree.user_class.human_attribute_name(:spree_roles) %> |
<%= t('spree.num_orders') %> |
<%= Spree.user_class.human_attribute_name(:lifetime_value) %> |
diff --git a/backend/app/views/spree/admin/users/items.html.erb b/backend/app/views/spree/admin/users/items.html.erb
index 81eaec51b41..24989be97cb 100644
--- a/backend/app/views/spree/admin/users/items.html.erb
+++ b/backend/app/views/spree/admin/users/items.html.erb
@@ -25,13 +25,13 @@
- <%= sort_link @search, :completed_at, Spree::Order.human_attribute_name(:completed_at), {}, {title: 'orders_completed_at_title'} %> |
+ <%= sort_link @search, :completed_at, Spree::Order.human_attribute_name(:completed_at), {title: 'orders_completed_at_title'} %> |
<%= Spree::LineItem.human_attribute_name(:description) %> |
<%= Spree::LineItem.human_attribute_name(:price) %> |
<%= Spree::LineItem.human_attribute_name(:quantity) %> |
<%= Spree::Order.human_attribute_name(:total) %> |
- <%= sort_link @search, :state, Spree::Order.human_attribute_name(:state), {}, {title: 'orders_state_title'} %> |
- <%= sort_link @search, :number, t('spree.admin.user.order_num'), {}, {title: 'orders_number_title'} %> |
+ <%= sort_link @search, :state, Spree::Order.human_attribute_name(:state), {title: 'orders_state_title'} %> |
+ <%= sort_link @search, :number, t('spree.admin.user.order_num'), {title: 'orders_number_title'} %> |
diff --git a/backend/app/views/spree/admin/users/orders.html.erb b/backend/app/views/spree/admin/users/orders.html.erb
index 5eaeebfcdaa..c55bbc3451d 100644
--- a/backend/app/views/spree/admin/users/orders.html.erb
+++ b/backend/app/views/spree/admin/users/orders.html.erb
@@ -22,14 +22,14 @@
- <%= sort_link @search, :completed_at, Spree::Order.human_attribute_name(:completed_at), {}, {title: 'orders_completed_at_title'} %> |
- <%= sort_link @search, :number, Spree::Order.human_attribute_name(:number), {}, {title: 'orders_number_title'} %> |
+ <%= sort_link @search, :completed_at, Spree::Order.human_attribute_name(:completed_at), {title: 'orders_completed_at_title'} %> |
+ <%= sort_link @search, :number, Spree::Order.human_attribute_name(:number), {title: 'orders_number_title'} %> |
<%= sort_link @search, :state %> |
<%= sort_link @search, :payment_state %> |
<% if Spree::Order.checkout_step_names.include?(:delivery) %>
<%= sort_link @search, :shipment_state %> |
<% end %>
- <%= sort_link @search, :total, Spree::Order.human_attribute_name(:total), {}, {title: 'orders_total_title'} %> |
+ <%= sort_link @search, :total, Spree::Order.human_attribute_name(:total), {title: 'orders_total_title'} %> |
diff --git a/backend/app/views/spree/admin/zones/index.html.erb b/backend/app/views/spree/admin/zones/index.html.erb
index 75d5a35e6b1..9faf4e906c2 100644
--- a/backend/app/views/spree/admin/zones/index.html.erb
+++ b/backend/app/views/spree/admin/zones/index.html.erb
@@ -23,7 +23,7 @@
<%= sort_link @search,:name, Spree::Zone.human_attribute_name(:name), title: 'zones_order_by_name_title' %> |
- <%= sort_link @search,:description, Spree::Zone.human_attribute_name(:description), {}, {title: 'zones_order_by_description_title'} %>
+ <%= sort_link @search,:description, Spree::Zone.human_attribute_name(:description), {title: 'zones_order_by_description_title'} %>
|
|