From 69e6abaeab942b1c503b1fae9a7cd10ffe8822f4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 25 Jun 2011 23:17:10 +0000 Subject: [PATCH] applicaitons/luci-qos: make classification rules sortable (#259) --- applications/luci-qos/luasrc/model/cbi/qos/qos.lua | 1 + applications/luci-qos/luasrc/model/cbi/qos/qosmini.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/applications/luci-qos/luasrc/model/cbi/qos/qos.lua b/applications/luci-qos/luasrc/model/cbi/qos/qos.lua index 8d852e750..98e9a2507 100644 --- a/applications/luci-qos/luasrc/model/cbi/qos/qos.lua +++ b/applications/luci-qos/luasrc/model/cbi/qos/qos.lua @@ -43,6 +43,7 @@ s = m:section(TypedSection, "classify", translate("Classification Rules")) s.template = "cbi/tblsection" s.anonymous = true s.addremove = true +s.sortable = true t = s:option(ListValue, "target", translate("Target")) t:value("Priority", translate("priority")) diff --git a/applications/luci-qos/luasrc/model/cbi/qos/qosmini.lua b/applications/luci-qos/luasrc/model/cbi/qos/qosmini.lua index fb2298f8e..9ffefec4f 100644 --- a/applications/luci-qos/luasrc/model/cbi/qos/qosmini.lua +++ b/applications/luci-qos/luasrc/model/cbi/qos/qosmini.lua @@ -29,6 +29,7 @@ s.template = "cbi/tblsection" s.anonymous = true s.addremove = true +s.sortable = true t = s:option(ListValue, "target") t:value("Priority", translate("priority")) -- 2.25.1