mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Should be desc here instead of asc
This commit is contained in:
parent
481deabbd4
commit
d59e247730
1 changed files with 1 additions and 1 deletions
|
|
@ -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'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue