Fix map re sat

This commit is contained in:
Andreas Kristiansen
2026-03-05 08:37:54 +01:00
parent a62cd3c408
commit a1651d1a60

View File

@@ -546,6 +546,16 @@ class Logbook_model extends CI_Model {
break;
case 'ITU':
$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;
case 'WAS':
$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)
// OPTIMIZATION: Batch file cache writes if enabled to reduce I/O operations
$file_cache_batch = [];
// Store worked items with their band/mode data
foreach ($call_data as $callsign => $data) {
$cache_key = "{$logbook_ids_key}|call|{$callsign}";