Exclude 'RPT'-Propagation in SOTA-CSV-Export

This commit is contained in:
DJ3CE
2025-10-28 13:06:35 +01:00
parent 4e5ab0e629
commit 4da4b11197
2 changed files with 7 additions and 2 deletions

View File

@@ -58,9 +58,13 @@ class Csv_model extends CI_Model
$binds[]=$cqz;
}
if ($propagation != 'All') {
if ($propagation == 'NoRPT') { // All but RPT
$sql .= " and COL_PROP_MODE != 'RPT'";
} else if ($propagation == 'All') {
; // No Prop-Filter
} else { // Propmode set, add SQL
$sql .= " and COL_PROP_MODE = ?";
$binds[]=$propagation;
$binds[] = $propagation;
}
// If date is set, we format the date and add it to the where-statement

View File

@@ -92,6 +92,7 @@
<label for="selectPropagation"><?= __("Propagation Mode"); ?></label>
<select class="form-select" id="selectPropagation" name="prop_mode">
<option value="All"><?= __("All"); ?></option>
<option value="NoRPT" selected="selected"><?= _pgettext("Propagation Mode","All but Repeater"); ?></option>
<option value="AS"><?= _pgettext("Propagation Mode","Aircraft Scatter"); ?></option>
<option value="AUR"><?= _pgettext("Propagation Mode","Aurora"); ?></option>
<option value="AUE"><?= _pgettext("Propagation Mode","Aurora-E"); ?></option>