Cliente hasMany Solicitud。
我正在使用 CakeDC 搜索插件。
我需要在 Solicitud 中搜索 Cliente.nombre = "myValue" 的位置。这甚至可行吗?我粘贴我所拥有的:
//SOLICITUD MODEL
public $actsAs = array('Search.Searchable', 'Containable');
public $filterArgs = array(
'nombre' => array('type' => 'like', 'field' => array('Cliente.nombre')),
);
我不知道这是可行的还是我在幻想。想法?