From d744c542202d010d23b1f1b8933ba537dbccf2c7 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 19 Oct 2021 23:13:43 +0200 Subject: [PATCH] luci-mod-network: allow sorting static leases Fixes: #5453 Signed-off-by: Jo-Philipp Wich (cherry picked from commit f4f64b91ca4d443af9e7bc0dfc2565ae0a796ea3) --- .../htdocs/luci-static/resources/view/network/dhcp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index cb1aa99472..6c4178b7df 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -504,6 +504,7 @@ return view.extend({ ss.addremove = true; ss.anonymous = true; + ss.sortable = true; so = ss.option(form.Value, 'name', _('Hostname')); so.validate = validateHostname; -- 2.30.2