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

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