query_report 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/query_report/report.rb +2 -1
- data/lib/query_report/version.rb +1 -1
- metadata +2 -2
data/lib/query_report/report.rb
CHANGED
@@ -138,7 +138,8 @@ module QueryReport
|
|
138
138
|
|
139
139
|
#apply pagination
|
140
140
|
@query_without_pagination_cache = @query_cache
|
141
|
-
|
141
|
+
page_method_name = Kaminari.config.page_method_name
|
142
|
+
@query_cache = @query_without_pagination_cache.send(page_method_name, @params[:page])
|
142
143
|
@applied_filters_and_pagination = true
|
143
144
|
end
|
144
145
|
end
|
data/lib/query_report/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: query_report
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ransack
|