has_searcher 0.0.7.2 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/app/models/search.rb +1 -1
- data/lib/has_searcher/version.rb +1 -1
- metadata +3 -4
data/lib/app/models/search.rb
CHANGED
@@ -51,7 +51,7 @@ class Search < ActiveRecord::Base
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
end
|
54
|
-
search.order_by order_by if respond_to?(:order_by) && order_by.present?
|
54
|
+
search.order_by *order_by.split(' ') if respond_to?(:order_by) && order_by.present?
|
55
55
|
search.paginate pagination if pagination.try(:any?)
|
56
56
|
end
|
57
57
|
end
|
data/lib/has_searcher/version.rb
CHANGED
metadata
CHANGED
@@ -5,9 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
|
10
|
-
version: 0.0.7.2
|
8
|
+
- 8
|
9
|
+
version: 0.0.8
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Dmitry Lihachev
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2011-
|
17
|
+
date: 2011-09-14 00:00:00 +07:00
|
19
18
|
default_executable:
|
20
19
|
dependencies: []
|
21
20
|
|