app/controllers/concerns/controller/pagination_concern.rb in itsf_backend-1.0.1 vs app/controllers/concerns/controller/pagination_concern.rb in itsf_backend-1.1.0

- old
+ new

@@ -7,9 +7,10 @@ def load_collection collection_scope.page(params[:page]).per(pagination_size) end def pagination_size - Itsf::Backend::Configuration.default_pagination_size + return collection_scope.count if params[:per_page] == 'all' + params[:per_page] || Itsf::Backend::Configuration.default_pagination_size end end end