From f3e530f42e350f17f42cf3f8f0f310f433effef9 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Thu, 30 Jun 2016 21:37:03 +0200 Subject: front: Fix basic Safari-stuff and misc oplog-issues .... Oplog: Don't send empty oplog entries. When viewing a switch, don't include oplog entries that have a blank system association. --- web/js/nms-search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/js/nms-search.js') diff --git a/web/js/nms-search.js b/web/js/nms-search.js index fb8e725..a292814 100644 --- a/web/js/nms-search.js +++ b/web/js/nms-search.js @@ -46,7 +46,7 @@ nmsSearch.searchTest = function(id, sw) { limit = limit.replace("active=",""); var operator = id.replace("active","")[0]; if (limit == parseInt(limit)) { - var ports = parseInt(nmsData.switchstate.switches[sw].ifs.ge.live); + var ports = parseInt(nmsData.switchstate.switches[sw].totals.live); limit = parseInt(limit); if (operator == ">" ) { if (ports > limit) { -- cgit v1.2.3