Changeset [f07894b01ec0930c7c55a04907e4751a98f9679b] by Paweł Pacana

September 16th, 2013 @ 05:55 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/f07894b01ec0930c7c55...

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!