Displaying 1 result from an estimated 1 matches for "list_by_edate".
2006 Aug 06
5
Click Table Headings to Sort..
...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" %>
<% end %>
the controller has the correct code for sorting either by ''edate'...