spree_sunspot_search icon indicating copy to clipboard operation
spree_sunspot_search copied to clipboard

Ordering not working

Open jonmast opened this issue 10 years ago • 0 comments

The products are ordered by id not by score. The problem is that when you pull the hits out of the db by id (search.rb line 93) you lose the sorting(at least with sqlite). Is there a reason you are not using Sunspot's results method?

jonmast avatar Nov 29 '14 23:11 jonmast