diff --git a/backend/app/controllers/spree/admin/stock_items_controller.rb b/backend/app/controllers/spree/admin/stock_items_controller.rb index 7669a41f19c..8750bc9ca71 100644 --- a/backend/app/controllers/spree/admin/stock_items_controller.rb +++ b/backend/app/controllers/spree/admin/stock_items_controller.rb @@ -56,7 +56,7 @@ def load_stock_management_data def variant_scope scope = Spree::Variant .accessible_by(current_ability) - .distinct.order(:sku) + .distinct .includes( :images, stock_items: :stock_location,