mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Fixes #1129
This commit is contained in:
parent
283840cf91
commit
da0a7cbd86
@ -338,7 +338,7 @@ class Lists extends WidgetBase
|
||||
else {
|
||||
$columnName = isset($column->sqlSelect)
|
||||
? DbDongle::raw($this->parseTableName($column->sqlSelect, $primaryTable))
|
||||
: $primaryTable . '.' . $column->columnName;
|
||||
: Db::getTablePrefix() . $primaryTable . '.' . $column->columnName;
|
||||
|
||||
$primarySearchable[] = $columnName;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user