shish hace 3 años
padre
commit
59ed9c2ffd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app-hd/controllers/ProductController.php

+ 1 - 1
app-hd/controllers/ProductController.php

@@ -305,8 +305,8 @@ class ProductController extends BaseController
             $showAll = $get['showAll'] ?? 0;
             if ($showAll == 0) {
                 $where['status'] = 1;
-                $where['frontHide'] = 0;
             }
+            $where['frontHide'] = 0;
 
             $level = $ghs['giveLevel'] ?? 1;
             $field = 'id,py,cover,name,ratio,classId,itemId,weight,smallUnit,bigUnit,smallUnit,smallRatio,ratioType,variety,price,hjPrice,hjDiscountPrice,actualSold,stock,stockWarning,discountPrice,presell,presellDate';