diff --git a/src/ORM/Table.php b/src/ORM/Table.php index d937e951715..04981f42710 100644 --- a/src/ORM/Table.php +++ b/src/ORM/Table.php @@ -1787,7 +1787,7 @@ protected function _dynamicFinder($method, $args) )); } foreach ($fields as $field) { - $conditions[$this->alias() . '.' . $field] = array_shift($args); + $conditions[$this->aliasField($field)] = array_shift($args); } return $conditions; };