Example #1
0
 public function actionIndex()
 {
     $model = new OrderSearch();
     $params = Yii::$app->request->queryParams;
     $orders = $model->search('', '', '', $params);
     return $this->render('orders', ['orders' => $orders, 'model' => $model]);
 }