Merge pull request #1448 from phl0/fixGridMapActivators

Also fetch my square for maps
pull/1449/head
Peter Goodhall 2022-04-01 11:33:40 +01:00 zatwierdzone przez GitHub
commit 19270f6b9f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
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'));
}