From 58e43cd91e3c97c25acf12a631cfdb0aee33ebe3 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Sat, 7 Nov 2020 18:00:11 +0100 Subject: [PATCH] change sorting behaviour for ident column --- html/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/script.js b/html/script.js index 79275b6..a4e8e98 100644 --- a/html/script.js +++ b/html/script.js @@ -2145,7 +2145,7 @@ function refreshFeatures() { html: true, }; cols.flight = { - sort: function () { sortBy('flight', compareBeta, function(x) { return x.flight ? x.flight : x.registration; }); }, + sort: function () { sortBy('flight', compareAlpha, function(x) { return x.flight }); }, value: function(plane) { return (flightawareLinks ? getFlightAwareModeSLink(plane.icao, plane.flight, plane.name) : plane.name); }, html: flightawareLinks, text: 'Ident' };