Incorrect `total_count` when using `padding` · Issue #1055 · kaminari/kaminari

Incorrect total_count after association loaded when using padding in the end of list. If we have 5 comments puts Comment.page(1).per(2).padding(0).total_count # => 5 # OK puts Comment.page(1).per(2...