mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #4038 from unclecheese/public-select-field
API CHANGE: Public visibility on DataQuery::selectField
This commit is contained in:
commit
e4c7b2bf0a
@ -789,7 +789,7 @@ class DataQuery {
|
||||
* @param $fieldExpression String The field to select (escaped SQL statement)
|
||||
* @param $alias String The alias of that field (escaped SQL statement)
|
||||
*/
|
||||
protected function selectField($fieldExpression, $alias = null) {
|
||||
public function selectField($fieldExpression, $alias = null) {
|
||||
$this->query->selectField($fieldExpression, $alias);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user