diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-10-19 23:13:43 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-10-19 23:13:43 +0200 |
commit | f4f64b91ca4d443af9e7bc0dfc2565ae0a796ea3 (patch) | |
tree | 2ed5ea94d7517f265f9ed445ead428312483722d /modules/luci-mod-network | |
parent | 07569c5af23d74bad8b78905b25d7e85bd2d3141 (diff) |
luci-mod-network: allow sorting static leases
Fixes: #5453
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js | 1 |
1 files changed, 1 insertions, 0 deletions
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; |