Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Pagination breaks when :order is used

#23

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

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

State: resolved
Milestone: none
Assigned to: Mislav Mislav

Activity

  1. PJ Hyett
    PJ Hyett
    • State changed from open to resolved

    May 28th, 2007 @ 10:43 AM

  2. Mislav
    Mislav

    Good grief, I forgot to commit it :-/

    Thanks

    May 28th, 2007 @ 10:43 AM

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.