Find conditions $data = $this->ProductComponents->find('all') ->contain(['ProductComponentGroups','ProductGroups']) ->select([ 'id', 'name', 'created', 'modified', 'product_component_group_id', 'product_group_id', 'ProductComponentGroups.id', 'ProductComponentGroups.name','ProductGroups.name' ]) ->where([$conditions]) ->order($order) ->limit($limit) ->p...