diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index c8a0bfb94..69cdf51a4 100644 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -484,8 +484,8 @@ class Logbook_model extends CI_Model { } } else { $this->db->group_start(); - $this->db->like("COL_GRIDSQUARE", $searchphrase); - $this->db->or_like("COL_VUCC_GRIDS", $searchphrase); + $this->db->like("COL_GRIDSQUARE", $searchphrase, 'after'); + $this->db->or_like("COL_VUCC_GRIDS", $searchphrase, 'after'); $this->db->group_end(); if ($band == 'SAT' && $type == 'VUCC') { if ($sat != 'All' && $sat != null) { diff --git a/application/models/Logbookadvanced_model.php b/application/models/Logbookadvanced_model.php index 0d0fce919..1f0f8a4be 100644 --- a/application/models/Logbookadvanced_model.php +++ b/application/models/Logbookadvanced_model.php @@ -181,7 +181,7 @@ class Logbookadvanced_model extends CI_Model { $condition = "COL_CLUBLOG_QSO_UPLOAD_STATUS = ?"; if ($searchCriteria['clublogSent'] == 'N') { $condition = '('.$condition; - $condition .= " OR COL_CLUBLOG_QSL_UPLOAD_STATUS IS NULL OR COL_CLUBLOG_QSO_UPLOAD_STATUS = '')"; + $condition .= " OR COL_CLUBLOG_QSO_UPLOAD_STATUS IS NULL OR COL_CLUBLOG_QSO_UPLOAD_STATUS = '')"; } $conditions[] = $condition; $binding[] = $searchCriteria['clublogSent']; diff --git a/application/views/qso/index.php b/application/views/qso/index.php index 3261d104b..c7e57ddbc 100644 --- a/application/views/qso/index.php +++ b/application/views/qso/index.php @@ -63,13 +63,13 @@