From 1c547d36b545e79838acca021767071ae95ca5c9 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 2 Mar 2020 09:34:03 +0100 Subject: luci-mod-network: switch.js: fix internal port ordering Fixes: #3709 Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/resources/view/network/switch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/luci-mod-network') diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js index 446723803..63427f147 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/switch.js @@ -361,7 +361,7 @@ return L.view.extend({ } port_opts.sort(function(a, b) { - return a.option < b.option; + return a.option > b.option; }); } -- cgit v1.2.3