Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

COUNT is not ignored for pagination if no fields option is given #1

Closed
ghost opened this issue Nov 5, 2010 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Nov 5, 2010

I have solved this problem by adding:

if($query['fields'] != 'COUNT(*) AS count')

to line 181.

@Terr
Copy link
Owner

Terr commented Mar 6, 2012

The field-less test for pagination passes, so I'm assuming this issue is fixed. If not (and you still care after a year ;)) please reopen this issue, preferably with a test case

@Terr Terr closed this as completed Mar 6, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant