Changeset [bd00b43d385b6456999524e8c92e7ce601d4d84f] by Paweł Pacana

June 21st, 2013 @ 05:47 PM

Exclude reorder for count queries.

It turns out reorder behaves differently on Rails 3.1 and requires
explicit exclude to not pollute count query with order clause.
https://github.com/mislav/will_paginate/commit/bd00b43d385b64569995...

Committed by Paweł Pacana

  • M lib/will_paginate/active_record.rb
  • M spec/finders/active_record_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Everyone's favorite Ruby library for pagination of practically anything!