From fb4d65e0af0a438a23f3ff7830cb4d31b166ce1a Mon Sep 17 00:00:00 2001 From: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> Date: Wed, 21 Oct 2020 21:44:19 +0300 Subject: Fix first_entry properly --- web/api/queries/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/api/queries/query.c b/web/api/queries/query.c index 8afd7539ab..91eec84651 100644 --- a/web/api/queries/query.c +++ b/web/api/queries/query.c @@ -1572,7 +1572,7 @@ RRDR *rrd2rrdr( time_t first_entry_t; time_t last_entry_t; if (context_param_list) { - first_entry_t = after_requested; //context_param_list->first_entry_t; + first_entry_t = context_param_list->first_entry_t; last_entry_t = context_param_list->last_entry_t; } else { first_entry_t = rrdset_first_entry_t(st); -- cgit v1.2.3