DXCC-Enrichment for spotter, to filter that at bandplan in future
这个提交包含在:
父节点
26fe064a93
当前提交
e6034647ba
共有 1 个文件被更改,包括 4 次插入 和 4 次删除
|
|
@ -4023,8 +4023,8 @@ class Logbook_model extends CI_Model {
|
||||||
$minutes += $spotage->i;
|
$minutes += $spotage->i;
|
||||||
$singlespot->age=$minutes;
|
$singlespot->age=$minutes;
|
||||||
if ($minutes<=$maxage) {
|
if ($minutes<=$maxage) {
|
||||||
$dxcc=$this->dxcc_lookup($singlespot->spotted,date('Ymd', time()));
|
$dxcc=$this->dxcc_lookup($singlespot->spotter,date('Ymd', time()));
|
||||||
$singlespot->dxcc=$dxcc;
|
$singlespot->dxcc_spotter=$dxcc;
|
||||||
array_push($spotsout,$singlespot);
|
array_push($spotsout,$singlespot);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -4061,8 +4061,8 @@ class Logbook_model extends CI_Model {
|
||||||
$minutes += $spotage->i;
|
$minutes += $spotage->i;
|
||||||
$json->age=$minutes;
|
$json->age=$minutes;
|
||||||
if ($minutes<=$maxage) {
|
if ($minutes<=$maxage) {
|
||||||
$dxcc=$this->dxcc_lookup($json->spotted,date('Ymd', time()));
|
$dxcc=$this->dxcc_lookup($json->spotter,date('Ymd', time()));
|
||||||
$json->dxcc=$dxcc;
|
$json->dxcc_spotter=$dxcc;
|
||||||
return ($json);
|
return ($json);
|
||||||
} else {
|
} else {
|
||||||
return '';
|
return '';
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用