|
|
@@ -36,7 +36,9 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
if(!$this->columns){
|
|
|
$this->columns = [
|
|
|
'ID' => null,
|
|
|
- 'TITLE' => null,
|
|
|
+ 'TITLE' => [
|
|
|
+ 'header' => Yii::t('ctx', 'title'),
|
|
|
+ ],
|
|
|
'CID' => [
|
|
|
'header' => Yii::t('ctx', 'category'),
|
|
|
'headerOther' => ['width' => '150'],
|
|
|
@@ -74,7 +76,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
if (!$this->filterTypes) {
|
|
|
$this->filterTypes = [
|
|
|
'TITLE'=> ['name'=> Yii::t('ctx', 'title')],
|
|
|
- 'COUNTRY'=> [
|
|
|
+ 'COUNTRY_ID'=> [
|
|
|
'name'=> \Yii::t('ctx', 'country'),
|
|
|
'other'=> 'select',
|
|
|
'selectData'=> self::getCountry()
|