diff --git a/api/application/models/PD_Model.php b/api/application/models/PD_Model.php index a44d6c06..aba2561e 100644 --- a/api/application/models/PD_Model.php +++ b/api/application/models/PD_Model.php @@ -2293,7 +2293,7 @@ class PD_Model extends SPARQ_Model { // $role = array(28,29); $role = array(29); // } - $this->db->select('USERPROFILE.userid, concat(USERPROFILE.first_name," ",USERPROFILE.last_name) as officer_name, USERPROFILE.email, USERPROFILE.mobile_no,USERPROFILEROLES.user_role,ROLES.role_name, ROLES.role_description'); + $this->db->select('USERPROFILE.userid,USERPROFILE.first_name,USERPROFILE.last_name,USERPROFILEROLES.user_role'); $this->db->from(USERPROFILE.' as USERPROFILE'); $this->db->join(USERPROFILEROLES.' as USERPROFILEROLES','USERPROFILEROLES.fk_userid = USERPROFILE.userid and USERPROFILEROLES.isactive = 1','LEFT'); $this->db->join(ROLES.' as ROLES','ROLES.role_id = USERPROFILEROLES.user_role and ROLES.isactive = 1','LEFT');