From b90dc9c2d914700bc2fc649f688970aad510e0fd Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Thu, 25 Jan 2018 17:47:52 +0530 Subject: [PATCH] course details changes done --- Apollo/api/application/models/Course_model.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;