adfinis / timed

Monorepo for the Timed time-tracking application
GNU Affero General Public License v3.0
4 stars 5 forks source link

statistic page loading wrong data #89

Open MitanOmar opened 1 year ago

MitanOmar commented 1 year ago

some kind of query to the reports endpoint is loading some wrong calculation

ex: https://timed.adfinis.com/statistics?customer=2&fromDate=2023-01-01&ordering=-duration&project=4460&type=task&user=182

image

nis65 commented 11 months ago

My example is as follows:

My project underwent a "remaining effort estimation" and I (we) decided to make a hard cut:

When I do a "from" and "to" limit showing only records from the new phase, phantom duration numbers are invented:

https://timed.adfinis.com/statistics?customer=177&project=4893&fromDate=2023-07-09&toDate=2023-08-06&type=task

When I remove the "from", all goes back to normal:

https://timed.adfinis.com/statistics?customer=177&project=4893&toDate=2023-08-06&type=task

EDIT: removed the screen shots for data privacy reasons.

Daenou commented 11 months ago

I have the same problem when trying to analyze timed data from the team The view by user works: https://timed.adfinis.com/statistics?customer=2&fromDate=2023-07-01&project=4457&toDate=2023-07-31&type=user#

But the view by task loads forever and has impossible large numbers: https://timed.adfinis.com/statistics?customer=2&fromDate=2023-07-01&project=4457&toDate=2023-07-31&type=task#

Would appreciate if this is fixed soonish

Daenou commented 2 months ago

This issue still exists, I'd be glad if it could be fixed soon :) I try to use the statistics quite often in my PM / SM / PPL work