Tuesday, August 4, 2009

Table sort with Searchlogic

Searchlogic comes with a nice rails helper method to assist sorting of your paginated tables

<%= order @search, :by => :created_at, :as => "Created" %>

You don't even have to do anything extra to your controller to get some nice sorting action. Cool!

No comments:

Blog Archive