changes in course

This commit is contained in:
gandhimathi 2017-11-28 20:35:06 +05:30
parent a5a28f3868
commit 951c9fa6a9

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('CourseID','DESC');
$this->db->order_by('CU.CreatedOn','DESC');
$courseDetails = $this->db->get();
if($courseDetails->result()){