Ver Fonte

feat: EK-2086: Member Portal : Dashboard Article and Ad only show self country.

kevin há 3 meses atrás
pai
commit
c380b7ab93
1 ficheiros alterados com 6 adições e 2 exclusões
  1. 6 2
      backendApi/modules/v1/models/lists/ad/AdIndexList.php

+ 6 - 2
backendApi/modules/v1/models/lists/ad/AdIndexList.php

@@ -49,7 +49,9 @@ class AdIndexList extends \common\libs\dataList\DataList implements DataListInte
         if(!$this->columns){
             $this->columns = [
                 'ID' => null,
-                'TITLE' => null,
+                'TITLE' => [
+                    'header' => Yii::t('ctx', 'title'),
+                ],
                 'COUNTRY_ID' => [
                     'header' => Yii::t('ctx', 'country'),
                     'headerOther' => ['width' => '150'],
@@ -68,7 +70,9 @@ class AdIndexList extends \common\libs\dataList\DataList implements DataListInte
                     'header' => Yii::t('ctx', 'status'),
                     'headerOther' => ['width' => '100'],
                 ],
-                'CONTENT' => null,
+                'CONTENT' => [
+                    'header' => Yii::t('ctx', 'content'),
+                ],
                 'TYPE' => null,
                 'SORT' => null,
                 'CREATED_AT' => [