Translatable behavior not working if used with Containable
- by bakerjr
An example:
$this-Parent-Behaviors-attach('Containable');
$parent = $this->Parent->find('first', array(
'contain' => array('Child' => array(
'order' => 'Child.order ASC',
)),
'conditions' => array('Parent.id' => $parentId)
)
);
Child has translated data and parent isn't using translatable. When I fetch the child data this way it's not translated.
Is Translatable (and also SmoothTranslate) working with Containable?
What solutions would you guys recommend?
Thanks in advance