From f4f64b91ca4d443af9e7bc0dfc2565ae0a796ea3 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 --- .../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 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; -- 2.30.2