diff --git a/Apollo/api/application/models/Student_model.php b/Apollo/api/application/models/Student_model.php index 34c7ac20..aab2f457 100755 --- a/Apollo/api/application/models/Student_model.php +++ b/Apollo/api/application/models/Student_model.php @@ -287,7 +287,7 @@ if($StuStatus == '' ){ } public function get_student_course_list($studentId) { - $this->db->select('t1.*,t2.UniversityName,t3.CourseName,t4.BatchName'); + $this->db->select('t1.*,t2.UniversityName,t3.CourseName,t3.Specilization1,t3.Specilization2,t4.BatchName'); $this->db->from('' . STUDENTCOURSE . ' as t1'); $this->db->join('' . UNIVERSITY . ' as t2', 't2.UniversityID = t1.UniversityID', 'LEFT'); $this->db->join('' . COURSE . ' as t3', 't3.CourseID = t1.CourseID', 'LEFT'); @@ -342,7 +342,7 @@ if($StuStatus == '' ){ //get course for university public function get_courseBatch_list($univId) { - $this->db->select('C.CourseID, C.CourseName'); + $this->db->select('C.CourseID, C.CourseName,C.Specilization1,C.Specilization2'); $this->db->from(COURSE.' as C'); $this->db->where('UniversityID',$univId); $this->db->where('IsActive',1);