From 71fbed1bc89538e4ccf28305139b77abc6f684a9 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 20 Jan 2011 12:38:32 +0000 Subject: applications/luci-firewall: make rules and redirections sortable --- applications/luci-firewall/luasrc/model/cbi/luci_fw/zones.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'applications/luci-firewall') diff --git a/applications/luci-firewall/luasrc/model/cbi/luci_fw/zones.lua b/applications/luci-firewall/luasrc/model/cbi/luci_fw/zones.lua index d40de7cdba..baced4a888 100644 --- a/applications/luci-firewall/luasrc/model/cbi/luci_fw/zones.lua +++ b/applications/luci-firewall/luasrc/model/cbi/luci_fw/zones.lua @@ -113,6 +113,7 @@ s = m:section(TypedSection, "redirect", translate("Redirections")) s.template = "cbi/tblsection" s.addremove = true s.anonymous = true +s.sortable = true s.extedit = ds.build_url("admin", "network", "firewall", "redirect", "%s") function s.create(self, section) @@ -191,6 +192,7 @@ end s = m:section(TypedSection, "rule", translate("Rules")) s.addremove = true s.anonymous = true +s.sortable = true s.template = "cbi/tblsection" s.extedit = ds.build_url("admin", "network", "firewall", "rule", "%s") s.defaults.target = "ACCEPT" -- cgit v1.2.3