Hello, I am new to CakePHP and trying the following:
I have a search controller that redirects to the Model to be searched,
passing the search term a query string:
/cake/media/search?term=foo
Then from the search() method in the controller, I call
$this-set('media', $this-paginate(Medium,
you can add stuff to the url of sort and nex/prev links with
paginator, it's in the api, so a sort table header maybe something
like:
$paginator-sort('no','Media.no',array('url'=array($term)));
hope that helps..
--~--~-~--~~~---~--~~
You received this message