From cf6433c1c52598241d31d08f38e6fb6495b04ea4 Mon Sep 17 00:00:00 2001 From: Johannes Helmold Date: Mon, 27 Jan 2025 14:15:15 +0100 Subject: [PATCH] Fix: Made the filter on the vulnerabilities page work for report_ids. The filter on the vulnerabilities page did not work for report_ids. --- src/manage_sql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manage_sql.c b/src/manage_sql.c index 7c44ed21e..e055b0544 100644 --- a/src/manage_sql.c +++ b/src/manage_sql.c @@ -56305,7 +56305,7 @@ vuln_iterator_extra_with (const gchar *task_id, const gchar *report_id, if (report_id && strcmp (report_id, "")) { report_t report = 0; - find_report_with_permission (task_id, &report, "get_reports"); + find_report_with_permission (report_id, &report, "get_reports"); g_string_append_printf (ret, " AND results.report = %llu", report); }