Re: paginator generates wrong url.

2009-09-22 Thread Mal
On further investigation, the following bit of code fixes this issue. Please put it in the next release. File cake/libs/view/helpers/paginator.php line 318 change from: $url = array_merge(array('page' => $paging['page'] + ($which == 'Prev' ? $step * -1 : $step)), $url); to: if ( i

paginator generates wrong url.

2009-09-22 Thread Mal
Hi all, the following problem manifests itself in both cake 1.2.4 and 1.2.5. I have a requirement to pass an ID into the index action of a controller that uses the cake paginator. The url would look something like this "http://server/path/controller/ index/135". I can generate the url easily fo