Displaying 1 result from an estimated 1 matches for "v_order".
Did you mean:
v_border
2006 Aug 06
5
Click Table Headings to Sort..
...RY way to do this.
I have 3 fields: name, date, race. I''m setting a parameter called so
(for sort order) to either "up" or "down" when the table header link is
clicked. Right now, my working code (in a partial) looks something like
this -
<% if params[:v_order] == ''down'' %>
<%= link_to "e_date", :action =>"list_by_edate", :v_order =>
"up" %>
<% else %>
<%= link_to "e_date", :action =>"list_by_edate", :v_order =>
"down" %...