Permalink
Browse files

Merge branch 'master' of git@github.com:binarylogic/searchlogic

  • Loading branch information...
binarylogic committed Jun 27, 2009
2 parents b3bf6f2 + c2c7c93 commit c35a806358595a12b9521dc10c7380ab3a0971cf
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/searchlogic/rails_helpers.rb
@@ -37,7 +37,7 @@ def order(search, options = {}, html_options = {})
end
html_options[:class] = css_classes.join(" ")
end
- link_to options[:as], url_for(options[:params_scope] => {:order => new_scope}), html_options
+ link_to options[:as], url_for(options[:params_scope] => search.conditions.merge( { :order => new_scope } ) ), html_options
end
# Automatically makes the form method :get if a Searchlogic::Search and sets

0 comments on commit c35a806

Please sign in to comment.