summaryrefslogtreecommitdiffstats
path: root/provisioning-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-11-16 15:37:52 +0000
committerTed Trask <ttrask01@yahoo.com>2010-11-16 15:37:52 +0000
commite567910811a63f21de855ee9cff103048e2b443e (patch)
treeba4713850fac881ff9beeb3cfe0895afb82af705 /provisioning-model.lua
parent5b519140db59acc3e6bc98929c68f18a3f40f4f2 (diff)
downloadacf-provisioning-e567910811a63f21de855ee9cff103048e2b443e.tar.bz2
acf-provisioning-e567910811a63f21de855ee9cff103048e2b443e.tar.xz
Display groups by name, not by label.
Diffstat (limited to 'provisioning-model.lua')
-rw-r--r--provisioning-model.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/provisioning-model.lua b/provisioning-model.lua
index 28ba58c..635c800 100644
--- a/provisioning-model.lua
+++ b/provisioning-model.lua
@@ -1123,6 +1123,7 @@ get_device_params = function(device_id, editable)
-- Loop through the groups and put them into the result
for i,g in ipairs(tmp) do
retval[g.name] = g
+ retval[g.name].label = g.name
retval[g.name].type="group"
end
-- Then, get all of the parameters for this device