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

Cakephp pagination and Linkable behavior is Not working in Postgres (have to modify behavior to fix it).  #3

@phpcoder2011

Description

@phpcoder2011

Hi. I think that this will not work in postgres. But it is probably easy to fix. For those who have an issue go to linkable behavior class and change every record like this

"elseif($query['fields'] != 'COUNT(*) AS count') {"

to something like this:

"elseif(strpos($query['fields'], 'COUNT(*)') === false) {"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions