shish 5 lat temu
rodzic
commit
222c068bb9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app-ghs/controllers/ItemController.php

+ 1 - 1
app-ghs/controllers/ItemController.php

@@ -14,7 +14,7 @@ class ItemController extends BaseController
 
     public function actionList()
     {
-        Yii::$app->params['pageSize'] = 50;
+        $_GET['pageSize'] = 50;
         $classId = Yii::$app->request->get('classId', 0);
         $where['sjId'] = $this->sjId;
         if (!empty($classId)) {