From b86ff6580e64d01e939679127481df162072afc7 Mon Sep 17 00:00:00 2001 From: Bill Fenner Date: Mon, 21 Jul 2014 00:10:10 +0000 Subject: [PATCH] Use name in the name column, and fix link. The template was a little mangled (missing href=), and the ip address was the preferred value for the name column - switch it to name --- Netdisco/share/views/ajax/report/devicednsmismatch.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Netdisco/share/views/ajax/report/devicednsmismatch.tt b/Netdisco/share/views/ajax/report/devicednsmismatch.tt index fba189cb..70045d73 100644 --- a/Netdisco/share/views/ajax/report/devicednsmismatch.tt +++ b/Netdisco/share/views/ajax/report/devicednsmismatch.tt @@ -25,7 +25,7 @@ $(document).ready(function() { { "data": 'ip', "render": function(data, type, row, meta) { - return '' + he.encode(row.ip || row.name) + ''; + return '' + he.encode(row.name || row.ip) + ''; } }, { "data": 'dns',