Permalink
Browse files

fix order

Signed-off-by: Ben Johnson <bjohnson@binarylogic.com>
  • Loading branch information...
newellista authored and binarylogic committed Jun 23, 2009
1 parent d216328 commit c2c7c9374deeb9cb6ccaa072d795a4f1985df00d
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/searchlogic/rails_helpers.rb
@@ -32,7 +32,7 @@ def order(search, options = {}, html_options = {})
end
html_options[:class] = css_classes.join(" ")
end
- link_to options[:as], url_for(options[:params_scope] => search[:conditions].merge( { :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 c2c7c93

Please sign in to comment.