shish 3 anni fa
parent
commit
26aed0c907
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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();
         $where = [];
         $where['mainId'] = $this->mainId;
+        $where['sh'] = $get['sh'] ?? 0;
         if (isset($get['status']) && $get['status'] >= 0) {
             $status = $get['status'];
             $where['status'] = $status;