Skip to content

Commit

Permalink
Merge pull request octobercms#1689 from CSNWEB/patch-2
Browse files Browse the repository at this point in the history
Use Grammar from Query in Widget List
  • Loading branch information
daftspunk committed Jan 15, 2016
2 parents 33805df + aa5f37a commit d2561dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/backend/widgets/Lists.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ public function prepareModel()
continue;
}

$alias = Db::getQueryGrammar()->wrap($column->columnName);
$alias = $query->getQuery()->getGrammar()->wrap($column->columnName);

/*
* Relation column
Expand Down

0 comments on commit d2561dc

Please sign in to comment.