Treat 0.0 response as NULL. Also get the in-memory timetamp, and then use whichever of the two timestamps is smallest (and non-zero)

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner
2025-11-11 17:45:04 +00:00
parent 0f76df92b9
commit 1b509593c9
2 changed files with 34 additions and 10 deletions

View File

@@ -64,6 +64,7 @@ mg.include('scripts/lua/header_authenticated.lp','r')
</div>
<input type="button" class="form-control pull-right" id="querytime" value="Click to select date and time range">
</div>
<small id="querytime-note" class="form-text text-muted" style="margin-top: 5px;"></small>
</div>
<div class="form-group col-md-6">
<div><input type="checkbox" id="disk"><label for="disk">Query on-disk data. This is <em>a lot</em> slower but necessary if you want to obtain queries older than 24 hours. This option disables live update.</label></div>