Merge pull request #4538 from mkllnk/4537-paginated-product-order

Make product order deterministic
This commit is contained in:
Luis Ramos
2019-12-10 18:00:45 +00:00
committed by GitHub

View File

@@ -66,7 +66,7 @@ class ProductsRenderer
.split(",").map { |id| "spree_products.primary_taxon_id=#{id} DESC" }
.join(", ") + ", spree_products.name ASC, spree_products.id ASC"
else
"spree_products.name ASC"
"spree_products.name ASC, spree_products.id"
end
end