Bläddra i källkod

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

kevin 3 månader sedan
förälder
incheckning
3bfc9d5524
1 ändrade filer med 4 tillägg och 4 borttagningar
  1. 4 4
      backendApi/modules/v1/models/lists/ad/AdIndexList.php

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

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