Also fetch my square for maps

pull/1448/head
phl0 2022-04-01 10:38:54 +02:00
rodzic 9b595b281b
commit dbfbffd631
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 48EA1E640798CA9A
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -398,6 +398,7 @@ class Logbook_model extends CI_Model {
$CI->load->model('logbooks_model');
$logbooks_locations_array = $CI->logbooks_model->list_logbook_relationships($this->session->userdata('active_station_logbook'));
$this->db->join('station_profile', 'station_profile.station_id = '.$this->config->item('table_name').'.station_id');
$this->db->where('COL_CALL', $call);
if ($band != 'All') {
if ($band == 'SAT') {
@ -414,7 +415,7 @@ class Logbook_model extends CI_Model {
}
}
$this->db->where_in('station_id', $logbooks_locations_array);
$this->db->where_in('station_profile.station_id', $logbooks_locations_array);
return $this->db->get($this->config->item('table_name'));
}