X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bed9cd00ed166ce346da4b8a9b654ddf86e64e70..6d1167356221c518eb8f1f94745bb33908de826a:/vendor/plugins/classic_pagination/lib/pagination.rb?ds=sidebyside diff --git a/vendor/plugins/classic_pagination/lib/pagination.rb b/vendor/plugins/classic_pagination/lib/pagination.rb index 6a3e1a97b..140a7d79b 100644 --- a/vendor/plugins/classic_pagination/lib/pagination.rb +++ b/vendor/plugins/classic_pagination/lib/pagination.rb @@ -175,7 +175,6 @@ module ActionController def count_collection_for_pagination(model, options) model.count(:conditions => options[:conditions], :joins => options[:join] || options[:joins], - :include => options[:include], :select => (options[:group] ? "DISTINCT #{options[:group]}" : options[:count])) end