shish 3 ani în urmă
părinte
comite
26aed0c907
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      app-hd/controllers/WorkController.php

+ 1 - 0
app-hd/controllers/WorkController.php

@@ -51,6 +51,7 @@ class WorkController extends BaseController
         $get = Yii::$app->request->get();
         $get = Yii::$app->request->get();
         $where = [];
         $where = [];
         $where['mainId'] = $this->mainId;
         $where['mainId'] = $this->mainId;
+        $where['sh'] = $get['sh'] ?? 0;
         if (isset($get['status']) && $get['status'] >= 0) {
         if (isset($get['status']) && $get['status'] >= 0) {
             $status = $get['status'];
             $status = $get['status'];
             $where['status'] = $status;
             $where['status'] = $status;