? charts date range not same as list filter

Issue #373 resolved
Ed McDonagh created an issue

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)

  1. David Platten

    Could be that the date range is set to be "greater than" the start date, as opposed to "greater than or equal to".

  2. David Platten

    @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.

  3. Ed McDonagh 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?

  4. David Platten

    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.

  5. David Platten

    @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...

  6. Log in to comment