@@ -28940,7 +28940,7 @@ init_delta_iterator (report_t report, iterator_t *results, report_t delta,
2894028940 " AND (r1a.new_severity = 0) = (r2a.new_severity = 0)"
2894128941 " AND (r1a.description = r2a.description)"
2894228942 " WINDOW w1 AS (PARTITION BY r1a.host, normalize_port(r1a.port),"
28943- " r1a.nvt, r1a.new_severity = 0, r2a.id is null ORDER BY r2a.id)"
28943+ " r1a.nvt, r1a.new_severity = 0, r2a.id is null ORDER BY r1a.description, r2a.id)"
2894428944 " ORDER BY r1a.id),"
2894528945 " r2 as (SELECT DISTINCT ON (r2a.id) r2a.*, r1a.id as r1id, row_number() over w2 as r2_rank"
2894628946 " FROM r2a LEFT JOIN r1a ON r2a.host = r1a.host"
@@ -28949,7 +28949,7 @@ init_delta_iterator (report_t report, iterator_t *results, report_t delta,
2894928949 " AND (r2a.new_severity = 0) = (r1a.new_severity = 0)"
2895028950 " AND (r2a.description = r1a.description)"
2895128951 " WINDOW w2 AS (PARTITION BY r2a.host, normalize_port(r2a.port),"
28952- " r2a.nvt, r2a.new_severity = 0, r1a.id is null ORDER BY r1a.id)"
28952+ " r2a.nvt, r2a.new_severity = 0, r1a.id is null ORDER BY r2a.description, r1a.id)"
2895328953 " ORDER BY r2a.id)"
2895428954 " (SELECT r1.id AS result1_id,"
2895528955 " r2.id AS result2_id,"
0 commit comments