mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-24 11:11:10 +00:00
Should be desc here instead of asc
This commit is contained in:
@@ -276,7 +276,7 @@ class Logbook_model extends CI_Model {
|
||||
if ($mode != 'All') {
|
||||
$this->db->where("(COL_MODE='" . $mode . "' OR COL_SUBMODE='" . $mode ."')");
|
||||
}
|
||||
$this->db->order_by("COL_TIME_ON", "asc");
|
||||
$this->db->order_by("COL_TIME_ON", "desc");
|
||||
|
||||
return $this->db->get($this->config->item('table_name'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user