mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Sort data results for graphing
This commit is contained in:
@@ -720,7 +720,8 @@
|
||||
|
||||
$sql = "SELECT count(*) qsos, round(COL_ANT_EL) elevation FROM ".$this->config->item('table_name')." where station_id in (" . implode(',',$logbooks_locations_array) . ") and coalesce(col_ant_el, '') <> ''
|
||||
$where
|
||||
group by round(col_ant_el)";
|
||||
group by round(col_ant_el)
|
||||
order by elevation asc";
|
||||
|
||||
$result = $this->db->query($sql, $binding);
|
||||
return $result->result();
|
||||
@@ -771,7 +772,8 @@
|
||||
where station_id in (" . implode(',',$logbooks_locations_array) . ")
|
||||
and coalesce(col_ant_az, '') <> ''
|
||||
$where
|
||||
group by round(col_ant_az)";
|
||||
group by round(col_ant_az)
|
||||
order by azimuth asc";
|
||||
|
||||
$result = $this->db->query($sql, $binding);
|
||||
return $result->result();
|
||||
|
||||
Reference in New Issue
Block a user