Merge pull request #1363 from phl0/orderByTimeDesc

Order QSO in map details by time descending
This commit is contained in:
Andreas Kristiansen 2022-01-14 12:31:37 +01:00 committed by GitHub
commit e9e1346d26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -276,6 +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", "desc");
return $this->db->get($this->config->item('table_name'));
}