public function attributes() { // add related fields to searchable attributes return array_merge(parent::attributes(), ['idMaster.idperson.auth_user_fullname', 'idMaster.iddolzh.dolzh_name', 'trMatOsmotrs.tr_mat_osmotr_id']); }