src/ORM/Filters/FulltextFilter.php
protected function prepareColumns($columns)
    {
        $prefix = DataQuery::applyRelationPrefix($this->relation);
        $table = DataObject::getSchema()->tableForField($this->model, current($columns));
        $fullTable = $prefix . $table;
        $columns = array_map(function ($col) use ($fullTable) {
            return "\"{$fullTable}\".\"{$col}\"";
        }, $columns);
        return implode(',', $columns);
    }
protected function prepareColumns($columns)
    {
        $prefix = DataQuery::applyRelationPrefix($this->relation);
        $table = DataObject::getSchema()->tableForField($this->model, current($columns));
        $fullTable = $prefix . $table;
        $columns = array_map(function ($col) use ($fullTable) {
            return "\"{$fullTable}\".\"{$col}\"";
        }, $columns);
        return implode(',', $columns);
    }
protected function prepareColumns ( $ columns ) { $ prefix = DataQuery :: applyRelationPrefix ( $ this -> relation ) ; $ table = DataObject :: getSchema ( ) -> tableForField ( $ this -> model , current ( $ columns ) ) ; $ fullTable = $ prefix . $ table ; $ columns = array_map ( function ( $ col ) use ( $ fullTable ) { return "\"{$fullTable}\".\"{$col}\"" ; } , $ columns ) ; return implode ( ',' , $ columns ) ; }
Adds table identifier to the every column.
Columns must have table identifier to prevent duplicate column name error.

@param array $columns
@return string
Adds table identifier to the every column . Columns must have table identifier to prevent duplicate column name error .