From 04b0d9689207a32476b2477ba6529d1db466ded0 Mon Sep 17 00:00:00 2001 From: PGBarrow Date: Mon, 13 Apr 2015 11:30:44 -0700 Subject: [PATCH] Aliasing fields with built-in method --- src/ORM/Table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; };