8000 Revert #4068 · activeadmin/activeadmin@f3fac34 · GitHub
[go: up one dir, main page]

Skip to content

Commit f3fac34

Browse files
author
irmela
committed
Revert #4068
1 parent 3a1621e commit f3fac34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_admin/views/components/paginated_collection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def build_pagination
9696
options[:params] = @params if @params
9797
options[:param_name] = @param_name if @param_name
9898

99-
if !@display_total && collection.respond_to?(:offset)
99+
if !@display_total
100100
# The #paginate method in kaminari will query the resource with a
101101
# count(*) to determine how many pages there should be unless
102102
# you pass in the :total_pages option. We issue a query to determine

0 commit comments

Comments
 (0)
0