mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge pull request #2143 from AndreasK79/dxcluster_list_filter
[DXCluster list] Added "Not worked" in the dropdown
This commit is contained in:
@@ -76,9 +76,10 @@
|
||||
<label class="my-1 me-2" for="cwnSelect"><?= __("DXCC-Status"); ?></label>
|
||||
<select class="form-select form-select-sm my-1 me-sm-2 w-auto" id="cwnSelect" name="dxcluster_cwn" aria-describedby="dxcluster_cwnHelp" required>
|
||||
<option value="All"><?= __("All"); ?></option>
|
||||
<option value="notwkd"><?= __("Not worked"); ?></option>
|
||||
<option value="wkd"><?= __("Worked"); ?></option>
|
||||
<option value="cnf"><?= __("Confirmed"); ?></option>
|
||||
<option value="ucnf"><?= __("Not Confirmed"); ?></option>
|
||||
<option value="ucnf"><?= __("Worked, not Confirmed"); ?></option>
|
||||
</select>
|
||||
<label class="my-1 me-2" for="decontSelect"><?= __("Spots de"); ?></label>
|
||||
<select class="form-select form-select-sm my-1 me-sm-2 w-auto" id="decontSelect" name="dxcluster_decont" aria-describedby="dxcluster_decontHelp" required>
|
||||
|
||||
@@ -53,9 +53,10 @@ $(function() {
|
||||
if (dxspots.length>0) {
|
||||
dxspots.sort(SortByQrg);
|
||||
dxspots.forEach((single) => {
|
||||
if ((cwn == 'notwkd') && ((single.worked_dxcc))) { return; }
|
||||
if ((cwn == 'wkd') && (!(single.worked_dxcc))) { return; }
|
||||
if ((cwn == 'cnf') && (!(single.cnfmd_dxcc))) { return; }
|
||||
if ((cwn == 'ucnf') && ((single.cnfmd_dxcc))) { return; }
|
||||
if ((cwn == 'ucnf') && (!(single.worked_dxcc) || single.cnfmd_dxcc)) { return; }
|
||||
spots2render++;
|
||||
var data=[];
|
||||
if (single.cnfmd_dxcc) {
|
||||
|
||||
Reference in New Issue
Block a user