PDA

View Full Version : Fixing a bug in project->user performance report


cyberhorse
04-05-04, 01:02 PM
Ok, this is my first patch and there maybe problems with it (for one, I have a suspicion it ended up being a reverse patch). It is done against the 1.0.2 version. I wasn't sure how to make unified patches, so this is a patch only on the file that needs to be changed (userperformance.php).

I hope it helps.

http://sourceforge.net/tracker/index.php?func=detail&aid=945764&group_id=21656&at id=372485

rsuchowi
19-05-04, 03:29 AM
The % should be <hours worked> / <hours allocated>. I would expect the report to show me the % of allocated time used. If I have 2 hours allocated and I have worked .5 then the I expect that 25% of the allocated time has been used. Presently the calculation in the demo shows 400%

Bob

cyberhorse
19-05-04, 11:12 PM
That is exactly what this patch fixes :p apply it and have a look (at your own risk)