Re: Need help with paginate conditions
Hi,
I see something...
I use $this->paginate = $options;
then
this: $options['fields'] = array('Member.id'); looks fine to me
this: $options['or'] = ... looks out of it's array conditions I would use $options['conditions']['or'] = ...
maybe like this the fields would be recognized...
then
$registers = $this->paginate();
you could also use
$options['contain'] =
$option['recursive'] = -1;$options['limit'] = 250;
$options['order'] = 'Register.id DESC';
$options['group'] = 'Register.id';
good luck!
--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home