mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Adjusted when checking for dupes on sat
This commit is contained in:
@@ -4,6 +4,7 @@ use Wavelog\QSLManager\QSO;
|
||||
class Logbookadvanced_model extends CI_Model {
|
||||
|
||||
public function dupeSearchQuery($searchCriteria, $binding) {
|
||||
$conditions = [];
|
||||
$group_by_append = '';
|
||||
$order_by = '';
|
||||
|
||||
@@ -21,6 +22,7 @@ class Logbookadvanced_model extends CI_Model {
|
||||
if (isset($searchCriteria['dupesat']) && $searchCriteria['dupesat'] === 'Y') {
|
||||
$id_sql .= ", COL_SAT_NAME";
|
||||
$group_by_append .= ", COL_SAT_NAME";
|
||||
$conditions[] = "COL_PROP_MODE = 'SAT' and COL_SAT_NAME <> '' and COL_SAT_NAME is not null";
|
||||
}
|
||||
|
||||
$id_sql .= " from " . $this->config->item('table_name') . "
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-check form-check-lg border rounded p-3 bg-light h-100">
|
||||
<input class="form-check-input" type="checkbox" name="satellite_check" id="satellite_check" checked>
|
||||
<input class="form-check-input" type="checkbox" name="satellite_check" id="satellite_check">
|
||||
<label class="form-check-label fw-semibold" for="satellite_check">
|
||||
<i class="fas fa-satellite me-2 text-info"></i><?= __("Satellite"); ?>
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user