From b450ed9a3c92696491617ab5662b9734cd06a17e Mon Sep 17 00:00:00 2001 From: Timo Pollmeier Date: Tue, 18 Jun 2019 14:18:08 +0200 Subject: [PATCH] Apply ignore_pagination in delta reports Delta reports still used the filter values for first_result and max_results (instead of 1 and -1) if ignore_pagination was enabled. --- src/manage_sql.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/manage_sql.c b/src/manage_sql.c index 87e5d80a5..06552d2a8 100644 --- a/src/manage_sql.c +++ b/src/manage_sql.c @@ -31175,7 +31175,9 @@ print_report_xml_start (report_t report, report_t delta, task_t task, if (delta && get->details) { if (print_report_delta_xml (out, &results, &delta_results, delta_states, - first_result, max_results, task, notes, + ignore_pagination ? 1 : first_result, + ignore_pagination ? -1 : max_results, + task, notes, notes_details, overrides, overrides_details, sort_order, sort_field, result_hosts_only, &orig_filtered_result_count,