shish il y a 5 ans
Parent
commit
e9c5edefff
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      app-ghs/controllers/ProductController.php

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

@@ -116,7 +116,6 @@ 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");