Propagating query string with paginator?

2008-03-06 Thread sam
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,

Re: Propagating query string with paginator?

2008-03-06 Thread Lisa B
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