On 20 mar, 01:04, Onkel Judith <[email protected]> wrote:
> *push* :/
if ($this->params['named']['sort'] === 'RAND()') { // or any sting you
choose
$this->pagainte['sort'] = 'RAND()';
}
But unless you've got only 1 page of results I doubt that's really
what you want (hint - click sort*, click page 2, click page 1*. * they
won't be the same and more importantly there will be results you may
be unable to find or find repeatedly - on page 1, page 2, page 3 etc.)
hth
AD
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
To unsubscribe from this group, send email to
cake-php+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.