Skip to content

Commit

Permalink
Fix - Filtration with join: There is no component aliased by [ x] in …
Browse files Browse the repository at this point in the history
…the Query
  • Loading branch information
cjchamado committed Jan 2, 2017
1 parent f98bcc6 commit 65ae72c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -51,7 +51,7 @@ public function walkSelectStatement(SelectStatement $AST)
$parts = explode('.', $column);
$field = end($parts);
if (2 <= count($parts)) {
$alias = reset($parts);
$alias = trim(reset($parts));
if (!array_key_exists($alias, $components)) {
throw new \UnexpectedValueException("There is no component aliased by [{$alias}] in the given Query");
}
Expand Down

0 comments on commit 65ae72c

Please sign in to comment.