From f55d5a10afc6649731712e2519373167308bf8e8 Mon Sep 17 00:00:00 2001 From: gayathri1990 Date: Thu, 30 Aug 2018 13:18:10 +0530 Subject: [PATCH] hall ticket sorting date --- Apollo/api/application/models/Hallticket_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Apollo/api/application/models/Hallticket_model.php b/Apollo/api/application/models/Hallticket_model.php index b7ac38ed..152cf58f 100755 --- a/Apollo/api/application/models/Hallticket_model.php +++ b/Apollo/api/application/models/Hallticket_model.php @@ -11,7 +11,7 @@ class Hallticket_model extends CI_Model { - /* + /* * get university details * created by velz * */ @@ -843,7 +843,7 @@ class Hallticket_model extends CI_Model JOIN T_SemSubMap_Master on T_SemSubMap_Child.MapID = T_SemSubMap_Master.MapID and T_SemSubMap_Master.UniversityID = ? and T_SemSubMap_Master.CourseID = ? and T_SemSubMap_Master.SemesterID = ? and T_SemSubMap_Master.BranchCode = ? and T_SemSubMap_Child.IsActive = 1 JOIN T_Batch_Schedule_Master on T_Batch_Schedule_Master.UniversityID = ? and T_Batch_Schedule_Master.CourseID = ? and T_Batch_Schedule_Master.BranchCode = ? JOIN T_Batch_Schedule_Child on T_Batch_Schedule_Master.SchId = T_Batch_Schedule_Child.SchId and T_SemSubMap_Child.SubjectID = T_Batch_Schedule_Child.SubjectID and T_Batch_Schedule_Child.IsActive = 1 - order by T_SemSubMap_Master.SemesterID"; + order by T_Batch_Schedule_Child.ScheduleDate"; $res = $this->db->query($sql,array($UID['universityID'],$courseID,$ind['SemID'],$branchId,$UID['universityID'],$courseID,$branchId)); //$id['FeeDetails'][$key2] = $res->result(); $in = $res->result();