@@ -28940,7 +28940,7 @@ init_delta_iterator (report_t report, iterator_t *results, report_t delta,
28940
28940
" AND (r1a.new_severity = 0) = (r2a.new_severity = 0)"
28941
28941
" AND (r1a.description = r2a.description)"
28942
28942
" 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)"
28944
28944
" ORDER BY r1a.id),"
28945
28945
" r2 as (SELECT DISTINCT ON (r2a.id) r2a.*, r1a.id as r1id, row_number() over w2 as r2_rank"
28946
28946
" 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,
28949
28949
" AND (r2a.new_severity = 0) = (r1a.new_severity = 0)"
28950
28950
" AND (r2a.description = r1a.description)"
28951
28951
" 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)"
28953
28953
" ORDER BY r2a.id)"
28954
28954
" (SELECT r1.id AS result1_id,"
28955
28955
" r2.id AS result2_id,"
0 commit comments