From 346badbcc56e7da08017ec98e835fd820a60d5d8 Mon Sep 17 00:00:00 2001 From: sanjeev Date: Thu, 25 Nov 2021 14:46:46 +0530 Subject: [PATCH] tamilmaran : ps --- api/application/models/PD_Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');