diff options
author | Ted Trask <ttrask01@yahoo.com> | 2015-07-06 11:26:00 -0400 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2015-07-06 11:26:00 -0400 |
commit | ea9e6f6f8b85126abf87dc7d7101b3d6c90d61c8 (patch) | |
tree | fa49ec53eef44d52f70b38fb434debd88b0cc45b /provisioning-searchdevices-html.lsp | |
parent | 7eda47ba7e6f00fa24d3da99bb6b82c116d03fbf (diff) | |
download | acf-provisioning-ea9e6f6f8b85126abf87dc7d7101b3d6c90d61c8.tar.bz2 acf-provisioning-ea9e6f6f8b85126abf87dc7d7101b3d6c90d61c8.tar.xz |
Make searchbyextension and searchbymac use searchdevices view rather than listdevices view
searchdevices view is still broken, since listdevices view changed
Diffstat (limited to 'provisioning-searchdevices-html.lsp')
-rw-r--r-- | provisioning-searchdevices-html.lsp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/provisioning-searchdevices-html.lsp b/provisioning-searchdevices-html.lsp index 0cdae00..d2f086d 100644 --- a/provisioning-searchdevices-html.lsp +++ b/provisioning-searchdevices-html.lsp @@ -38,8 +38,10 @@ if form.value.values then form.value.values = nil -- And here we display the list of devices in the result elseif form.value.result then - local func = haserl.loadfile(page_info.viewfile:gsub(page_info.action, "listdevices")) - func(form.value.result, viewlibrary, page_info, session) + + print("There are "..#form.value.result.value.." devices in the result") +-- local func = haserl.loadfile(page_info.viewfile:gsub(page_info.action, "listdevices")) +-- func(form, viewlibrary, page_info, session) end %> |