fix(awards): the mode filter only hid rows, it did not filter the award
Selecting CW showed FT8 and SSB contacts. The filter ran client-side over the reference list and nothing else, so a reference kept because it had one CW contact still displayed the band cells it earned on SSB, still counted its SSB confirmations, and opening it listed every contact regardless of mode. The class now narrows the log BEFORE the engine runs, so the bands, the totals and the confirmations all describe the selected mode, and AwardCellQSOs takes the same class. The panel cache is keyed by "CODE|MODECLASS" — one key per award showed the previous mode's numbers after switching. The snapshot is cached by log revision, so this costs a matching pass and no database read.
This commit is contained in:
@@ -98,8 +98,8 @@ export function AudioTXActive() {
|
||||
return window['go']['main']['App']['AudioTXActive']();
|
||||
}
|
||||
|
||||
export function AwardCellQSOs(arg1, arg2, arg3) {
|
||||
return window['go']['main']['App']['AwardCellQSOs'](arg1, arg2, arg3);
|
||||
export function AwardCellQSOs(arg1, arg2, arg3, arg4) {
|
||||
return window['go']['main']['App']['AwardCellQSOs'](arg1, arg2, arg3, arg4);
|
||||
}
|
||||
|
||||
export function AwardFields() {
|
||||
@@ -678,8 +678,8 @@ export function GetAutostartPrograms() {
|
||||
return window['go']['main']['App']['GetAutostartPrograms']();
|
||||
}
|
||||
|
||||
export function GetAward(arg1) {
|
||||
return window['go']['main']['App']['GetAward'](arg1);
|
||||
export function GetAward(arg1, arg2) {
|
||||
return window['go']['main']['App']['GetAward'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function GetAwardDefs() {
|
||||
|
||||
Reference in New Issue
Block a user