avo 3.10.8 → 3.10.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/components/avo/paginator_component.rb +1 -1
- data/app/controllers/avo/search_controller.rb +2 -2
- data/config/initializers/pagy.rb +3 -1
- data/lib/avo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fcdd8c5c729fbd6351b0ec4dc1303353342d135ab920890bea342dfc361b7b7
|
4
|
+
data.tar.gz: b9e9196b3a232846cea27b43598d08ccd268ba9c93b0d7e2326a23dea81d14cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 429a6fe952e02c234593260015f8dc065a995e55498737a841f498ef885a837ed411bb97831334b4a81e5a6df01a4f8d3b2c8538d3356ca1dbb7c748c44e9731
|
7
|
+
data.tar.gz: 5591505610679d89e29347b70ad1e0569811bcb79d7542418c9327a9ecd8d17776c62e3376cc5971dcc9ad170cffca52888037465c084c15eef74af9677bbea5
|
data/Gemfile.lock
CHANGED
@@ -47,7 +47,7 @@ module Avo
|
|
47
47
|
query: resource.query_scope
|
48
48
|
).handle
|
49
49
|
|
50
|
-
results_count, results = parse_results(query)
|
50
|
+
results_count, results = parse_results(query, resource)
|
51
51
|
|
52
52
|
header = resource.plural_name
|
53
53
|
|
@@ -205,7 +205,7 @@ module Avo
|
|
205
205
|
end
|
206
206
|
end
|
207
207
|
|
208
|
-
def parse_results(query)
|
208
|
+
def parse_results(query, resource)
|
209
209
|
# When using custom search services query should return an array of hashes
|
210
210
|
if query.is_a?(Array)
|
211
211
|
# Apply highlight
|
data/config/initializers/pagy.rb
CHANGED
data/lib/avo/version.rb
CHANGED