Commit 6be43b621c37b8c61a1909c886741e67378ff537
1 parent
17033e08
MenuSearch fix
Showing
2 changed files
with
7 additions
and
2 deletions
Show diff stats
backend/controllers/MenuController.php
... | ... | @@ -9,6 +9,7 @@ use yii\web\Controller; |
9 | 9 | use yii\web\NotFoundHttpException; |
10 | 10 | use yii\filters\VerbFilter; |
11 | 11 | use common\models\TerminLang; |
12 | +use backend\models\SearchMenu; | |
12 | 13 | |
13 | 14 | /** |
14 | 15 | * MenuController implements the CRUD actions for Menu model. |
... | ... | @@ -33,7 +34,7 @@ class MenuController extends Controller |
33 | 34 | */ |
34 | 35 | public function actionIndex() |
35 | 36 | { |
36 | - $searchModel = new MenuSearch(); | |
37 | + $searchModel = new SearchMenu(); | |
37 | 38 | $dataProvider = $searchModel->search(Yii::$app->request->queryParams); |
38 | 39 | |
39 | 40 | return $this->render('index', [ | ... | ... |
common/models/Menu.php