From 9c2210abf902fbfd6c6e9c8a8bced659edfe1e37 Mon Sep 17 00:00:00 2001 From: Valentijn Scholten Date: Wed, 11 Mar 2020 21:05:59 +0100 Subject: [PATCH] fix superfluous sla column in datatables config (fixes #2041) --- dojo/templates/dojo/findings_list.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dojo/templates/dojo/findings_list.html b/dojo/templates/dojo/findings_list.html index 53f0d1b8643..eca75907050 100644 --- a/dojo/templates/dojo/findings_list.html +++ b/dojo/templates/dojo/findings_list.html @@ -416,9 +416,13 @@

{ "data": "finding_age", render: function (data, type, row) { return type === 'export' ? getDojoExportValueFromTag(data, 'td') : data; } }, + + {% if system_settings.enable_finding_sla %} { "data": "finding_sla", render: function (data, type, row) { return type === 'export' ? getDojoExportValueFromTag(data, 'td') : data; }}, + {% endif %} + { "data": "reported_by", render: function (data, type, row) { return type === 'export' ? getDojoExportValueFromTag(data, 'td') : data; }},