php-reports icon indicating copy to clipboard operation
php-reports copied to clipboard

Daterange, default values overwrite Today

Open latchee opened this issue 4 years ago • 0 comments

Hi there, I have configured a report with daterange variable like this: VARIABLE: { "name": "range", "type": "daterange", "default": { "start": "-1 year", "end": "now" }, display: "Time range" } When I open the report the first time, default values are loaded as expected. But when I click on today, it reverts to default (in my case 1 year range). image Work around is to click on yesterday (or any other time range) and then back to today, then range will effectively be for "today". Could this be a bug? Cheers,

latchee avatar Jun 18 '20 02:06 latchee