From a90676336daf22d5704398291d60c27f91b56923 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Fri, 22 May 2026 14:38:35 +0300 Subject: [PATCH] luci-app-statistics: correctness fixes Signed-off-by: Paul Donald --- .../htdocs/luci-static/resources/statistics/rrdtool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js index f19d44fbbb..5a0e31efc8 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js @@ -266,7 +266,7 @@ return baseclass.extend({ else if (x && y && x[0] != y[0]) return +x[0] - +y[0]; else - return a > b; + return a < b ? -1 : a > b ? 1 : 0; }); },