summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-10-19 23:13:43 +0200
committerJo-Philipp Wich <jo@mein.io>2021-10-19 23:13:43 +0200
commitf4f64b91ca4d443af9e7bc0dfc2565ae0a796ea3 (patch)
tree2ed5ea94d7517f265f9ed445ead428312483722d /modules/luci-mod-network
parent07569c5af23d74bad8b78905b25d7e85bd2d3141 (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.js1
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;