tamilmaran : ps
This commit is contained in:
parent
5ab6220b6b
commit
346badbcc5
@ -2293,7 +2293,7 @@ class PD_Model extends SPARQ_Model {
|
|||||||
// $role = array(28,29);
|
// $role = array(28,29);
|
||||||
$role = array(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->from(USERPROFILE.' as USERPROFILE');
|
||||||
$this->db->join(USERPROFILEROLES.' as USERPROFILEROLES','USERPROFILEROLES.fk_userid = USERPROFILE.userid and USERPROFILEROLES.isactive = 1','LEFT');
|
$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');
|
$this->db->join(ROLES.' as ROLES','ROLES.role_id = USERPROFILEROLES.user_role and ROLES.isactive = 1','LEFT');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user