How would you set up a Sort dropdown?
I can set up the dropdown with links based on bootstrap code but what is the best way to link to sorted listings. Say i want price from low to high..and i want to put this dropdown on multiple pages - index, category, seller page, and search results page. What would the link_to look like?
I read that searchkick has some sort capabilities too but not sure if I can use it for my purpose.
Posted about 5 years ago by