Hi i am using SortHelper2 in my columns and want someone help to solve my problem. i have the following url on my site http://xyz.com/post?options=vteam and i want to append sort_key=id&sort_order=desc at the end of my params hash, so the end result would be http://xyz.ccom/post?options=vteam&sort_key=id&sort_order=desc Would any body help me how i can append sort_key=id&sort_order=desc at the end of my query string. Thanks in advance mushii -- Posted via http://www.ruby-forum.com/.
Hi
Eventually i have been able to solve problem myself.
i made the following modification in the sort_link method
if params[:options]
my_condition = params[:options]
end
params = {:params => {:options => my_condition , :sort_key => sort_key,
:sort_order => order, :search_terms => terms}}
and i got the desired results which i was looking for :)
--
Posted via http://www.ruby-forum.com/.