diff --git a/Apollo/api/application/models/Data_correction.php b/Apollo/api/application/models/Data_correction.php index ac128551..47ed6c62 100644 --- a/Apollo/api/application/models/Data_correction.php +++ b/Apollo/api/application/models/Data_correction.php @@ -69,6 +69,9 @@ group by Student_id,cid"; // $this->db->like('ST.Firstname','%'.$search['Firstname'].'%'); $this->db->where('scd.UniversityID',$search['University']); } + + + $this->db->where('sd.BranchCode',$search['branchId']); $this->db->group_by('scd.ID'); $searchDetails = $this->db->get();