orderby in newreg perort
This commit is contained in:
parent
2457da513e
commit
c741266ce6
@ -80,7 +80,6 @@ $db['default'] = array(
|
||||
'password' => 'apollo1234',
|
||||
'database' => 'apollod4_ApolloDECDev',
|
||||
|
||||
|
||||
// 'username' => 'apollod4_SIT',
|
||||
// 'password' => 'apollosit1234',
|
||||
// 'database' => 'apollod4_ApolloDECNEWSIT',
|
||||
|
||||
@ -1131,7 +1131,9 @@ T_Registration_Details.BranchCode= '".$branch."'";
|
||||
|
||||
$subQuery.='group by T_Student_CourseDetails.ID';
|
||||
|
||||
$query = $this->db->query($subQuery,array());
|
||||
$subQuery.=' order by str_to_date(T_Student_CourseDetails.DOJ,?) desc';
|
||||
|
||||
$query = $this->db->query($subQuery,array('%d-%m-%Y'));
|
||||
|
||||
|
||||
$searchDetails =$query->result();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user