Skip to content

Commit 95ec363

Browse files
committed
Change back to overridden merge
1 parent 92f5f93 commit 95ec363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_admin/mongoid/helpers/collection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def collection_size(collection=collection)
99
if collection.is_a?(::Mongoid::Criteria)
1010
collection.count(true)
1111
else
12-
collection.count
12+
original_collection_size(collection)
1313
end
1414
end
1515

0 commit comments

Comments
 (0)