Re: Using the Paginator helper with 2 models in a view.

2007-09-03 Thread Adam Royle
I think this is a shortfall in 1.2 paginator. Apparently it was done as a security measure. I think there are plans to fix it, however my hack was to do a str_replace to the output of paginator. You could also override the paginator helper and do it that way (might be cleaner) but if you're into

Using the Paginator helper with 2 models in a view.

2007-09-02 Thread phpjoy
in my index.ctp I have the following code: th?php echo $paginator-sort('Title', 'title');?/th th?php echo $paginator-sort('Layout Name', 'LayoutWidget.name');? /th When I try to sort the table in the column 'title' it works like a charm. When I try to sort the Layout Name column, it works just