I am trying to implement a simple search and sort for my webapp. I am following the railscast and this railscast.
My application helper for sortable function which
you can try to use request.parameters.merge, below is sample for your code above
<%= link_to title, listings_path(request.parameters.merge({:sort => "column", :direction => "direction", :page => nil})), :class => "form-control css_class" %>