Hi, You are fetching active records in $active variable but that variable is not being used anywhere. That's why the paginated results are not affected.
Amit Badkas PHP Applications for E-Biz: http://www.sanisoft.com On Fri, Jan 21, 2011 at 2:27 PM, OldWest <[email protected]> wrote: > Ok the error is gone now, but for some reason the results are not being > effected? > > I am calling it like so in my Controller: > > function search() { > $this->Plan->recursive = 2; //*** Modified by Jason: Recursion needs to be > corrected with better method. ***// > *$active = $this->Plan->getActive();* > $this->set('plans', $this->paginate()); > } > > Any ideas why this is not taking hold? > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
