summaryrefslogtreecommitdiffstats
path: root/provisioning-listdevices-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'provisioning-listdevices-html.lsp')
-rw-r--r--provisioning-listdevices-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/provisioning-listdevices-html.lsp b/provisioning-listdevices-html.lsp
index 47c01cf..c19f281 100644
--- a/provisioning-listdevices-html.lsp
+++ b/provisioning-listdevices-html.lsp
@@ -32,7 +32,7 @@ require("viewfunctions")
<TR style="background:#eee;font-weight:bold;">
<TH>Action</TH>
<TH>Device ID</TH>
- <% if page_info.action == "searchdevices" then %>
+ <% if page_info.action ~= "listdevices" then %>
<% if view.value[1] and view.value[1].group and view.value[1].group ~= "" then %>
<TH>Group</TH>
<% end %>
@@ -60,7 +60,7 @@ require("viewfunctions")
<% end %>
</TD>
<TD><%= html.html_escape(v.device_id) %></TD>
- <% if page_info.action == "searchdevices" then %>
+ <% if page_info.action ~= "listdevices" then %>
<% if v.group and v.group ~= "" then %>
<TD><%= html.html_escape(v.group) %></TD>
<% end %>