Skip to content

Commit

Permalink
Aliasing fields with built-in method
Browse files Browse the repository at this point in the history
  • Loading branch information
PGBI committed Apr 13, 2015
1 parent e0c5b13 commit 04b0d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Table.php
Expand Up @@ -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;
};
Expand Down

0 comments on commit 04b0d96

Please sign in to comment.