From efdaf6284ff655c170a0b712ebf7a9f3bf55263d Mon Sep 17 00:00:00 2001 From: AndreasK79 Date: Tue, 17 Mar 2020 14:39:34 +0100 Subject: [PATCH] Removed SAT qsos when viewing qsos with a gridsquare, and band is not SAT --- application/models/Logbook_model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 2ffba388..e4285557 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -201,6 +201,7 @@ class Logbook_model extends CI_Model { if ($band == 'SAT') { $sql .= " and col_prop_mode ='" . $band . "'"; } else { + $sql .= " and col_prop_mode !='SAT'"; $sql .= " and col_band ='" . $band . "'"; } } @@ -212,6 +213,7 @@ class Logbook_model extends CI_Model { if ($band == 'SAT') { $sql .= " and col_prop_mode ='" . $band . "'"; } else { + $sql .= " and col_prop_mode !='SAT'"; $sql .= " and col_band ='" . $band . "'"; } }