8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbce355 commit d93cef7Copy full SHA for d93cef7
lib/active_admin/views/components/paginated_collection.rb
@@ -96,7 +96,7 @@ def build_pagination
96
options[:params] = @params if @params
97
options[:param_name] = @param_name if @param_name
98
99
- if !@display_total && collection.respond_to?(:offset)
+ if !@display_total
100
# The #paginate method in kaminari will query the resource with a
101
# cou 3D07 nt(*) to determine how many pages there should be unless
102
# you pass in the :total_pages option. We issue a query to determine
0 commit comments