#23 ✓resolved
Mislav

Pagination breaks when :order is used

Reported by Mislav | May 28th, 2007 @ 10:43 AM

Robert: "Is it just me being daft or does this break if you try and use :order with it? (on postgresql this gives errors about a missing GROUP BY clause when running the count(*) SQL)"

Vincent suggests:

count_options = options.slice :conditions, :joins, :include, :group, :distinct

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

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!

People watching this ticket

Pages