mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fix map re sat
This commit is contained in:
@@ -546,6 +546,16 @@ class Logbook_model extends CI_Model {
|
|||||||
break;
|
break;
|
||||||
case 'ITU':
|
case 'ITU':
|
||||||
$this->db->where('COL_ITUZ', $searchphrase);
|
$this->db->where('COL_ITUZ', $searchphrase);
|
||||||
|
if ($band == 'SAT' && $type == 'ITU') {
|
||||||
|
if ($sat != 'All' && $sat != null) {
|
||||||
|
$this->db->where("COL_SAT_NAME", $sat);
|
||||||
|
}
|
||||||
|
if ($orbit != 'All' && $orbit != null) {
|
||||||
|
$this->db->where("satellite.orbit", $orbit);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$this->db->where("COL_PROP_MODE !=", "SAT");
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'WAS':
|
case 'WAS':
|
||||||
$this->db->where('COL_STATE', $searchphrase);
|
$this->db->where('COL_STATE', $searchphrase);
|
||||||
@@ -2929,7 +2939,7 @@ class Logbook_model extends CI_Model {
|
|||||||
// Cache the complete data for each callsign/dxcc/continent (both in-memory and file)
|
// Cache the complete data for each callsign/dxcc/continent (both in-memory and file)
|
||||||
// OPTIMIZATION: Batch file cache writes if enabled to reduce I/O operations
|
// OPTIMIZATION: Batch file cache writes if enabled to reduce I/O operations
|
||||||
$file_cache_batch = [];
|
$file_cache_batch = [];
|
||||||
|
|
||||||
// Store worked items with their band/mode data
|
// Store worked items with their band/mode data
|
||||||
foreach ($call_data as $callsign => $data) {
|
foreach ($call_data as $callsign => $data) {
|
||||||
$cache_key = "{$logbook_ids_key}|call|{$callsign}";
|
$cache_key = "{$logbook_ids_key}|call|{$callsign}";
|
||||||
|
|||||||
Reference in New Issue
Block a user