Re: Paginate two sets of data from the same model

2009-01-06 Thread Bernardo Vieira
Thanks majna, I'll look into it. majna wrote: > http://debuggable.com/posts/how-to-have-multiple-paginated-widgets-on-the-same-page-with-cakephp:48ad241e-b018-4532-a748-0ec74834cda3 > > On Jan 6, 2:51 pm, Bernardo Vieira wrote: > >> Hi all, >> I'm trying to paginate two sets of data in the sa

Re: Paginate two sets of data from the same model

2009-01-06 Thread majna
http://debuggable.com/posts/how-to-have-multiple-paginated-widgets-on-the-same-page-with-cakephp:48ad241e-b018-4532-a748-0ec74834cda3 On Jan 6, 2:51 pm, Bernardo Vieira wrote: > Hi all, > I'm trying to paginate two sets of data in the same view, I have done it > before with data from different m

Paginate two sets of data from the same model

2009-01-06 Thread Bernardo Vieira
Hi all, I'm trying to paginate two sets of data in the same view, I have done it before with data from different models and then specifying the target model when calling the paginator methods, of course this fails when the two datasets come from the same model. A sample usage scenario would be