newellista-searchlogic 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/searchlogic/rails_helpers.rb +1 -1
- data/searchlogic.gemspec +1 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
@@ -21,7 +21,7 @@ module Searchlogic
|
|
21
21
|
options[:descend_scope] ||= "descend_by_#{options[:by]}"
|
22
22
|
|
23
23
|
if options[:tri_state].to_s == "true"
|
24
|
-
new_scope = "" if search.order.
|
24
|
+
new_scope = "" if search.order.nil?
|
25
25
|
new_scope = options[ :descend_scope ] if search.order.to_s == options[ :ascend_scope ]
|
26
26
|
new_scope ||= options[ :ascend_scope ]
|
27
27
|
else
|
data/searchlogic.gemspec
CHANGED