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.
2 parents e268bfd + 60903e6 commit 8032624Copy full SHA for 8032624
lib/active_admin/views/components/paginated_collection.rb
@@ -100,7 +100,7 @@ def build_pagination
100
options[:params] = @params if @params
101
options[:param_name] = @param_name if @param_name
102
103
- if !@display_total
+ if !@display_total && collection.respond_to?(:offset)
104
# The #paginate method in kaminari will query the resource with a
105
# count(*) to determine how many pages there should be unless
106
# you pass in the :total_pages option. We issue a query to determine
0 commit comments