changes in course

This commit is contained in:
gandhimathi 2017-11-29 10:39:26 +05:30
parent 3805ac40c3
commit b71a52f22d

View File

@ -71,7 +71,7 @@ class Course_model extends CI_Model {
$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->from(COURSE.' as CU');
$this->db->join(UNIVERSITY.' as US', 'US.UniversityID = CU.UniversityID');
$this->db->order_by('CU.CourseID','ASC');
$this->db->order_by('CU.CreatedOn','DESC');
$courseDetails = $this->db->get();
if($courseDetails->result()){