Change LOTW filtering behavior in CR

Roster was treating LOTW filtering as "advisory" if someone had
previously set LoTW filtering to "show me nothing older than 3 months"
they would still get older stations but with "?" -- this is inconsistent
with every other filter, and is annoying--a station that once uploaded
to LoTW 8 years ago shouldn't be considered a LoTW station. Fixes this.
merge-requests/31/head
Paul Traina 2020-10-30 14:06:32 -07:00
rodzic 65449aec2e
commit 8fa9c14c7c
1 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -648,6 +648,15 @@ function viewRoster()
callRoster[callHash].tx = false;
continue;
}
if ( g_rosterSettings.maxLoTW < 27 )
{
var months = (g_day - window.opener.g_lotwCallsigns[call]) / 30;
if ( months > g_rosterSettings.maxLoTW )
{
callRoster[callHash].tx = false;
continue;
}
}
}
if ( window.opener.g_callsignLookups.eqslUseEnable == true && g_rosterSettings.useseQSL == true )