JS-Filtering

This commit is contained in:
int2001
2024-05-01 07:03:51 +00:00
parent 6630e502e6
commit 00a884afe9

View File

@@ -36,7 +36,6 @@ $(function() {
}
function fill_list(band,de,maxAgeMinutes,cwn) {
console.log(cwn);
// var table = $('.spottable').DataTable();
var table = get_dtable();
if ((band != '') && (band !== undefined)) {
@@ -52,6 +51,9 @@ $(function() {
if (dxspots.length>0) {
dxspots.sort(SortByQrg);
dxspots.forEach((single) => {
if ((cwn == 'wkd') && (!(single.worked_dxcc))) { return; }
if ((cwn == 'cnf') && (!(single.cnfmd_dxcc))) { return; }
if ((cwn == 'ucnf') && ((single.cnfmd_dxcc))) { return; }
var data=[];
if (single.cnfmd_dxcc) {
dxcc_wked_info="text-success";