Alias Filter Added
This commit is contained in:
parent
3c49cd9fff
commit
ca2de63b48
|
|
@ -53,6 +53,8 @@ class ChannelDataGrid extends DataGrid
|
|||
->addSelect('channels.id', 'channels.code', 'channel_translations.locale', 'channel_translations.name as translated_name', 'channels.hostname')
|
||||
->where('channel_translations.locale', '=', $this->locale);
|
||||
|
||||
$this->addFilter('translated_name', 'channel_translations.name');
|
||||
|
||||
$this->setQueryBuilder($queryBuilder);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue