cloudspokes/cs-website — pull request #2 by darthdeus (2011-11-24 11:48:37+00:00)
Title: #254645 - menu now highlights the current sort/order item, if none is selected

I've added helper for links in the navigation. It will check for each menu item if it's sort/order value is the same as the one currently used, and if so, it will add the "active" class to highlight the menu item.

If there are no params used, it will only highlight the default links.

It also persists the sort/order value from the other menu, so if for example I click on "closed" and then I want to sort them by "type", it will keep the "closed" filter in params.