$query, ]); $this->load($params); if (!$this->validate()) { // uncomment the following line if you do not want to return any records when validation fails // $query->where('0=1'); return $dataProvider; } // grid filtering conditions $query->andFilterWhere([ 'id' => $this->id, 'is_send_request' => $this->is_send_request, 'is_express' => $this->is_express, 'pathologist_id' => $this->pathologist_id, 'cytotech1_id' => $this->cytotech1_id, 'cytotech1_at' => $this->cytotech1_at, 'ref_id' => $this->ref_id, 'send_request_at' => $this->send_request_at, 'approve_status' => $this->approve_status, 'release_by' => $this->release_by, 'release_at' => $this->release_at, 'approve_by' => $this->approve_by, 'approve_at' => $this->approve_at, ]); $query->andFilterWhere(['like', 'id_case', $this->id_case]) ->andFilterWhere(['like', 'report_type', $this->report_type]) ->andFilterWhere(['like', 'remark', $this->remark]); return $dataProvider; } }