kopia lustrzana https://github.com/magicbug/Cloudlog
[OQRS] Fixed search not showing all QSOs
rodzic
f31f38fe2f
commit
83ae7f3bd4
|
|
@ -50,7 +50,7 @@ class Oqrs_model extends CI_Model {
|
|||
$callsign = $this->security->xss_clean($callsign);
|
||||
$sql = 'select lower(col_mode) col_mode, coalesce(col_submode, "") col_submode, col_band from ' . $this->config->item('table_name') . ' where station_id = ' . $station_id . ' and col_call ="' . $callsign . '" and col_prop_mode != "SAT"';
|
||||
|
||||
$sql .= ' union select lower(col_mode) col_mode, coalesce(col_submode, "") col_submode, "SAT" col_band from ' . $this->config->item('table_name') . ' where station_id = ' . $station_id . ' and col_call ="' . $callsign . '" and col_prop_mode = "SAT"';
|
||||
$sql .= ' union all select lower(col_mode) col_mode, coalesce(col_submode, "") col_submode, "SAT" col_band from ' . $this->config->item('table_name') . ' where station_id = ' . $station_id . ' and col_call ="' . $callsign . '" and col_prop_mode = "SAT"';
|
||||
|
||||
$query = $this->db->query($sql);
|
||||
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue