diff --git a/Apollo/api/application/models/Course_model.php b/Apollo/api/application/models/Course_model.php index 7159f17f..cffd819d 100755 --- a/Apollo/api/application/models/Course_model.php +++ b/Apollo/api/application/models/Course_model.php @@ -69,7 +69,7 @@ class Course_model extends CI_Model { public function getCourse() { - $this->db->select('CU.CourseID,CU.CourseName,CU.FeesType,CU.PC,CU.DC,CU.TC,CU.MC,CU.OtherFees,CU.IsActive,US.UniversityID,US.UniversityName'); + $this->db->select('CU.CourseID,CU.CourseName,CU.FeesType,CU.Specilization1,CU.Specilization2,CU.PC,CU.DC,CU.TC,CU.MC,CU.OtherFees,CU.IsActive,US.UniversityID,US.UniversityName'); $this->db->from(COURSE.' as CU'); $this->db->join(UNIVERSITY.' as US', 'US.UniversityID = CU.UniversityID'); $this->db->order_by('CU.CreatedOn','DESC'); @@ -83,6 +83,8 @@ class Course_model extends CI_Model { $fetchData['CourseID']=$row->CourseID; $fetchData['CourseName']=$row->CourseName; $fetchData['FeesType']=$row->FeesType; + $fetchData['Specilization1']=$row->Specilization1; + $fetchData['Specilization2']=$row->Specilization2; $fetchData['PC']=$row->PC; $fetchData['DC']=$row->DC; $fetchData['TC']=$row->TC;