From c9a4c1404a5c51fad1376dc338d1f851dbaf6474 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Wed, 11 Jan 2023 15:07:12 +0000 Subject: [PATCH] #956 numberic interpretation error in Node MAC search template --- Changes | 1 + share/views/ajax/search/node_by_mac.tt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Changes b/Changes index a509df92..c3c35436 100644 --- a/Changes +++ b/Changes @@ -5,6 +5,7 @@ * #953 port reconfig (vlan) fail due to missing DB column data * #957 make job queue updates work reliably and atomically * #958 make job queue updates work reliably and atomically + * #956 numberic interpretation error in Node MAC search template 2.060003 - 2022-12-14 diff --git a/share/views/ajax/search/node_by_mac.tt b/share/views/ajax/search/node_by_mac.tt index 434857c1..11179653 100644 --- a/share/views/ajax/search/node_by_mac.tt +++ b/share/views/ajax/search/node_by_mac.tt @@ -34,6 +34,7 @@ [% END %] [% END %] + [% SET nodecount = 0 %] [% WHILE (node = sightings.next) %] [% SET nodecount = nodecount + 1 %] @@ -60,6 +61,7 @@ [% END %] [% END %] + [% SET portcount = 0 %] [% WHILE (port = ports.next) %] [% SET portcount = portcount + 1 %]