mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fix additional point in past series
This commit is contained in:
parent
907b260ece
commit
d7632494dd
2 changed files with 2 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ res.max_points = options.max_num_points
|
|||
if not isEmptyString(compare_backward) and compare_backward ~= "1Y" and (res.step ~= nil) then
|
||||
local backward_sec = getZoomDuration(compare_backward)
|
||||
local tstart_cmp = res.start - backward_sec
|
||||
local tend_cmp = tstart_cmp + res.step * res.count
|
||||
local tend_cmp = tstart_cmp + res.step * (res.count - 1)
|
||||
|
||||
-- Try to use the same aggregation as the original query
|
||||
local res_cmp = performQuery(tstart_cmp, tend_cmp, true, {target_aggregation=res.source_aggregation})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue