luci-mod-network: allow sorting static leases
authorJo-Philipp Wich <jo@mein.io>
Tue, 19 Oct 2021 21:13:43 +0000 (23:13 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 19 Oct 2021 21:13:43 +0000 (23:13 +0200)
Fixes: #5453
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js

index a04052121e208cca9f8efd29b3b50b95e6307d06..f425bd060509167d9be4ca6b50fd1c258fe45969 100644 (file)
@@ -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;