$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, 'volume' => $this->volume, 'spin' => $this->spin, 'smear' => $this->smear, 'cell_block' => $this->cell_block, 'method_cell_block' => $this->method_cell_block, 'specimen_adequacy_1' => $this->specimen_adequacy_1, 'pathologist_id' => $this->pathologist_id, 'pathologist_at' => $this->pathologist_at, 'status_id' => $this->status_id, 'is_critical_diagnosis' => $this->is_critical_diagnosis, 'is_first_cancer' => $this->is_first_cancer, 'reference_img_id' => $this->reference_img_id, 'is_edit_patient_information' => $this->is_edit_patient_information, 'cyto_non_gyn_diagnosis_id' => $this->cyto_non_gyn_diagnosis_id, 'diagnosis_type' => $this->diagnosis_type, 'pathologist2_id' => $this->pathologist2_id, 'pathologist2_at' => $this->pathologist2_at, 'is_agree' => $this->is_agree, 'is_m' => $this->is_m, 'diag_by' => $this->diag_by, 'is_no_microscopic' => $this->is_no_microscopic, 'is_no_comment' => $this->is_no_comment, 'cytotech1_id' => $this->cytotech1_id, 'cytotech1_at' => $this->cytotech1_at, 'is_co_pathologist' => $this->is_co_pathologist, 'co_pathologist_id' => $this->co_pathologist_id, 'is_conference' => $this->is_conference, 'conference_at' => $this->conference_at, 'is_cell_block' => $this->is_cell_block, 'cell_block_at' => $this->cell_block_at, 'is_review' => $this->is_review, 'review_at' => $this->review_at, 'patho_report_id' => $this->patho_report_id, 'is_ca_confirm' => $this->is_ca_confirm, 'is_ca_confirm_at' => $this->is_ca_confirm_at, 'is_suggesstion_ihc' => $this->is_suggesstion_ihc, 'is_suggesstion_special_stain' => $this->is_suggesstion_special_stain, 'is_suggesstion_other' => $this->is_suggesstion_other, 'is_ca_confirm_agree' => $this->is_ca_confirm_agree, 'is_reject' => $this->is_reject, 'is_reject_list' => $this->is_reject_list, ]); $query->andFilterWhere(['like', 'name', $this->name]) ->andFilterWhere(['like', 'report_type', $this->report_type]) ->andFilterWhere(['like', 'id_case', $this->id_case]) ->andFilterWhere(['like', 'gross_description', $this->gross_description]) ->andFilterWhere(['like', 'color', $this->color]) ->andFilterWhere(['like', 'specimen_adequacy1_other', $this->specimen_adequacy1_other]) ->andFilterWhere(['like', 'microscopic_description', $this->microscopic_description]) ->andFilterWhere(['like', 'microscopic_img', $this->microscopic_img]) ->andFilterWhere(['like', 'microscopic_img_caption', $this->microscopic_img_caption]) ->andFilterWhere(['like', 'diagnosis', $this->diagnosis]) ->andFilterWhere(['like', 'rev', $this->rev]) ->andFilterWhere(['like', 'rev_date', $this->rev_date]) ->andFilterWhere(['like', 'reason', $this->reason]) ->andFilterWhere(['like', 'diagnosis_comment', $this->diagnosis_comment]) ->andFilterWhere(['like', 'comment', $this->comment]) ->andFilterWhere(['like', 'note', $this->note]) ->andFilterWhere(['like', 'suggestion', $this->suggestion]) ->andFilterWhere(['like', 'review_remark', $this->review_remark]) ->andFilterWhere(['like', 'outlab_report', $this->outlab_report]) ->andFilterWhere(['like', 'consult_outlab_report', $this->consult_outlab_report]) ->andFilterWhere(['like', 'ca_confirm_remark', $this->ca_confirm_remark]) ->andFilterWhere(['like', 'suggesstion_ihc', $this->suggesstion_ihc]) ->andFilterWhere(['like', 'suggesstion_special_stain', $this->suggesstion_special_stain]) ->andFilterWhere(['like', 'suggesstion_other', $this->suggesstion_other]); return $dataProvider; } }