From: Jo-Philipp Wich Date: Tue, 19 Oct 2021 21:13:43 +0000 (+0200) Subject: luci-mod-network: allow sorting static leases X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=f4f64b91ca4d443af9e7bc0dfc2565ae0a796ea3;p=openwrt-luci.git luci-mod-network: allow sorting static leases Fixes: #5453 Signed-off-by: Jo-Philipp Wich --- 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 a04052121e..f425bd0605 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 @@ -547,6 +547,7 @@ return view.extend({ ss.addremove = true; ss.anonymous = true; + ss.sortable = true; so = ss.option(form.Value, 'name', _('Hostname')); so.validate = validateHostname;