shish 5 éve
szülő
commit
002573abf3
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      app-ghs/controllers/ProductController.php

+ 1 - 0
app-ghs/controllers/ProductController.php

@@ -116,6 +116,7 @@ class ProductController extends BaseController
         $showPage = Yii::$app->request->get('showPage', 0);
         $showPage = Yii::$app->request->get('showPage', 0);
         if ($showPage) {
         if ($showPage) {
             if ($type == 'waring') {
             if ($type == 'waring') {
+                Yii::$app->params['pageSize'] = 1000;
                 $respond = ProductClass::getList("*", $where, "stock asc");
                 $respond = ProductClass::getList("*", $where, "stock asc");
             } else {
             } else {
                 $respond = ProductClass::getList("*", $where, "inTurn desc");
                 $respond = ProductClass::getList("*", $where, "inTurn desc");