Thanks Brian, So, you have to trick Containable by puting it into a condition ... like the good old days :)
/Martin On Jun 11, 6:01 pm, brian <bally.z...@gmail.com> wrote: > Have a look at this thread: > > http://groups.google.com/group/cake-php/browse_thread/thread/4b1351b6... > > On Thu, Jun 11, 2009 at 11:45 AM, Martin > > > > Westin<martin.westin...@gmail.com> wrote: > > > Hi, > > I find myself needing to get associated data grouped by a field but > > Containable seems to interpret the group key as an extra field to > > include. > > > @line 267 containable specifies a bunch of valid options but groups is > > not one of them. > > > Trying to be cheeky and adding group to the list makes the errors go > > away but the group statement is still ignored... and that is as far as > > I have come trying to understand the internals of Containable. > > > My question is if the missing group is a small oversight that can be > > easily implemented or if grouping has been intentionally abandoned > > after it proved to be too complex, or something? --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---