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.
@@ -138,7 +138,8 @@ module QueryReport
138
138
 
139
139
  #apply pagination
140
140
  @query_without_pagination_cache = @query_cache
141
- @query_cache = @query_without_pagination_cache.page(@params[:page])
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
@@ -1,3 +1,3 @@
1
1
  module QueryReport
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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.5
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-08 00:00:00.000000000 Z
12
+ date: 2013-04-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ransack