Friday, October 2, 2009

paginator, containable -> what $key for sort()

Hello,

I am using containable behaviour in paginate() in my controller namend
"E".

In my view I can use sort('title of cell in table E') to sort the
results. But I did not find a way to sort by any fields not belonging
to table E.

I tried sort('D.cell name') - but the syntax seems to be wrong.

So, what is the correct syntax for $key in PaginatorHelper::sort()
when using containble behaviour?

Thanks!
Melanie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: