Terr/linkable — Issue #3: Cakephp pagination and Linkable behavior is Not working in Postgres (have to modify behavior to fix it). 
Author: phpcoder2011
Created: 2011-10-11 07:59:58+00:00
State: open

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)) {"