diff options
author | Ted Trask <ttrask01@yahoo.com> | 2015-11-20 23:14:58 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2015-11-20 23:14:58 +0000 |
commit | fa17f273a1fed485afafa7492e84fa978a05bf31 (patch) | |
tree | d02e3a8c081fd55106a1bfb7e01a6dc9db077dd6 /provisioning-model.lua | |
parent | 9a9bf5d552d157bff2a5412715e240082421f2cb (diff) | |
download | acf-provisioning-fa17f273a1fed485afafa7492e84fa978a05bf31.tar.bz2 acf-provisioning-fa17f273a1fed485afafa7492e84fa978a05bf31.tar.xz |
Replace convertsize function with orig_size
Also changes listtemplates to return all details and fixes HTML view bug when template file is missing
Diffstat (limited to 'provisioning-model.lua')
-rw-r--r-- | provisioning-model.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/provisioning-model.lua b/provisioning-model.lua index 560bc42..0468a57 100644 --- a/provisioning-model.lua +++ b/provisioning-model.lua @@ -537,8 +537,9 @@ mymodule.list_templates = function() reversed[file] = #retval end local t = retval[reversed[file]] - t.filesize = details.size - t.mtime = details.mtime + for n,v in pairs(details) do + t[n] = v + end end end |