mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Add first and last date in callstats
This commit is contained in:
@@ -25,7 +25,9 @@ class Callstats_model extends CI_Model {
|
||||
|
||||
$sql = "select
|
||||
`col_call` as `call`,
|
||||
COUNT(*) as `count`
|
||||
COUNT(*) as `count`,
|
||||
min(col_time_on) as first_qso,
|
||||
max(col_time_on) as last_qso
|
||||
from " . $this->config->item('table_name') . "
|
||||
left join satellite on ".$this->config->item('table_name').".COL_SAT_NAME = satellite.name
|
||||
where station_id in (" . $location_list . ")";
|
||||
|
||||
Reference in New Issue
Block a user