mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes past data not correctly processed
This commit is contained in:
parent
0d337f1eba
commit
df7adac739
3 changed files with 8 additions and 5 deletions
|
|
@ -162,7 +162,7 @@ function ts_data.get_timeseries(http_context)
|
|||
res.metadata = {}
|
||||
end
|
||||
|
||||
if not isEmptyString(compare_backward) and (res.metadata.epoch_step ~= nil) and table.len(res.statistics or {}) > 0 then
|
||||
if not isEmptyString(compare_backward) and (res.metadata.epoch_step) then
|
||||
res = compareBackward(compare_backward, res, options)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue