? charts date range not same as list filter
I wanted to check if there was data missing after an automated QR failure over the Easter weekend, so I used the Study Workload chart with the DX data to see if any days were missing or unusually short of data.
With the filter set 'from 2016-03-23', there were only two events on Wednesdays, which corresponded to the number in the database from today. However I knew there were a significant number on 23rd (a Wednesday) from looking at the filtered list.
With the filter set to 'from 2016-03-22', there were now 52 events on Wednesdays, despite no extra Wednesday's being added!
This is using 0.7.0 b12 on PostgreSQL
Comments (7)
-
-
@edmcdonagh, I've just checked your issue with a copy of my live system. I don't see the problem that you are seeing: the workload chart includes studies that took place on the "from" date.
-
reporter Odd. Does your live system equate to a release version? Though would it be true to say you haven't touched that code for a while?
-
The test system I looked at is 0.7.0b12 plus my skin dose map stuff: the issue61 branch. I don't think I've touched the code for the workload chart in ages.
-
@edmcdonagh, my live system is using 0.7.0b2. This suffers from the problem that you describe in this issue. My test system, which is up-to-date with the latest commit from the issue61 branch, is fine. So I've changed something that has fixed it...
-
reporter - changed status to resolved
Tested on my updated live system and this error doesn't occur.
-
reporter Documented ref
#373in changes/CHANGES and release notes→ <<cset e5f2616d7447>>
- Log in to comment
Could be that the date range is set to be "greater than" the start date, as opposed to "greater than or equal to".