diff --git a/Apollo/api/application/models/SeesionMaster_model.php b/Apollo/api/application/models/SeesionMaster_model.php index bab6c79d..5b83bc62 100755 --- a/Apollo/api/application/models/SeesionMaster_model.php +++ b/Apollo/api/application/models/SeesionMaster_model.php @@ -73,8 +73,8 @@ class SeesionMaster_model extends CI_Model { $this->db->join(SESSIONDETAILS.' as SD', 'SM.SessionID = SD.SessionID'); $this->db->join(UNIVERSITY.' as US', 'US.UniversityID = SD.UniversityID'); $this->db->where('SD.IsActive','1'); - $this->db->order_by('SM.CreatedOn','DESC'); - $this->db->group_by('SM.SessionName','DESC'); + $this->db->order_by('SM.SessionID','DESC'); + $this->db->group_by('SM.SessionID','DESC'); $sessionDetails = $this->db->get(); if($sessionDetails->result()){