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}
|
return {callsign: callsign, locator: r.locator, lastseen: r.lastseen}
|
||||||
}).filter(function(d) {
|
}).filter(function(d) {
|
||||||
return d.locator == locator;
|
return d.locator == locator;
|
||||||
|
}).sort(function(a, b){
|
||||||
|
return b.lastseen - a.lastseen;
|
||||||
});
|
});
|
||||||
infowindow.setContent(
|
infowindow.setContent(
|
||||||
'<h3>Locator: ' + locator + '</h3>' +
|
'<h3>Locator: ' + locator + '</h3>' +
|
||||||
|
Loading…
Reference in New Issue
Block a user