Should be desc here instead of asc

pull/1363/head
phl0 2022-01-14 11:59:04 +01:00
rodzic 481deabbd4
commit d59e247730
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 48EA1E640798CA9A
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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'));
}