search for: sorted_column

Displaying 1 result from an estimated 1 matches for "sorted_column".

Did you mean: sort_column
2006 Jan 08
2
sorting tables by columns
What I''m trying to do is have clickable column headers that will sort the table by that column. What I have below works, except there is only one variable storing the sort direction for all the columns, whereas I need a separate one for each column name. list view: <th><%= link_to ''Category'', :action => ''list'', :order =>