|
@@ -356,7 +356,7 @@ class Exams extends Backend
|
|
|
if(!$row){
|
|
|
$this->error(__('No Results were found'));
|
|
|
}
|
|
|
- $list = $this->model->where(['seat_id'=>$row->seat_id,'exam_collection_id'=>$row->exam_collection_id])->order('starttime asc')->select();
|
|
|
+ $list = $this->model->where(['seat_id'=>$row->seat_id,'exam_collection_id'=>$row->exam_collection_id])->order('starttime desc')->select();
|
|
|
$this->view->assign('list', $list);
|
|
|
return $this->view->fetch();
|
|
|
}
|