mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-01-23 00:30:21 +01:00
sort by lastseen
This commit is contained in:
parent
d606c85443
commit
8edc7c1374
|
|
@ -181,6 +181,8 @@
|
|||
return {callsign: callsign, locator: r.locator, lastseen: r.lastseen}
|
||||
}).filter(function(d) {
|
||||
return d.locator == locator;
|
||||
}).sort(function(a, b){
|
||||
return b.lastseen - a.lastseen;
|
||||
});
|
||||
infowindow.setContent(
|
||||
'<h3>Locator: ' + locator + '</h3>' +
|
||||
|
|
|
|||
Loading…
Reference in a new issue