We set up a Combination Facet for a Year, Make, Model search. On the search results page, the Vehicle Fitment in the left sidebar lists the Years from oldest to newest. Is there a way to reverse the sort order, showing current year to oldest?
Announcement
Collapse
No announcement yet.
Vehicle Fitment years sort order?
Collapse
X
-
Try adding something like this before the <foreach> for that facet
<mvt:do file="g.module_library_utilities" name="l.success" value="QuickSortArray(l.settings:{facet_array}, ':customfield_values:customfields:{facet_name}' , -1)" />Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.com
Comment