spree
spree copied to clipboard
When ordering by price, needs a GROUP BY, otherwise even with DISTINC…
…T it would return duplicate products with multiple variants (with different prices)
Current implementation produces duplicate results when ordering search results by price. When products have multiple variants.
@rafalcymerys
