From 2fe537eaa22552e2ee31f6282adccce29a6196f2 Mon Sep 17 00:00:00 2001 From: resicovenba Date: Fri, 1 Dec 2017 19:15:43 +0530 Subject: [PATCH] batch changes --- Apollo/api/application/models/Batch_model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Apollo/api/application/models/Batch_model.php b/Apollo/api/application/models/Batch_model.php index ce2fefad..e9a83539 100644 --- a/Apollo/api/application/models/Batch_model.php +++ b/Apollo/api/application/models/Batch_model.php @@ -101,7 +101,8 @@ class Batch_model extends CI_Model { { $this->db->select('UniversityID,UniversityName'); $this->db->order_by('UniversityID','ASC'); - $this->db->order_by('IsActive','1'); + $this->db->where('IsActive','1'); + // $this->db->where_not_in('ID', $id); $universityDetails = $this->db->get(UNIVERSITY); return $universityDetails->result(); }