Content
View differences
Updated by Naglis Jonaitis over 8 years ago
## Preconditions to reproduce the bug
> Which browser did you use when you experienced the error?
Mozilla Firefox 55.0.3
> Do you receive any error messages in the rails console or browser console when the error occurs? Please include the error message if applicable.
No.
## Steps to reproduce
1. Go to `/time_entries`, click *Report*
2. Filter to a period with two time entries on at least two separate days
3. In the *Details* selection pick *Days*, in the *Add* selection, pick *Member*, click *Apply*.
4. At the bottom of the page, click *CSV* to download the report file.
## Actual behavior
1. In the CSV file the hours spent by members working are summed for whole month, eg:
<!-- end list -->
Member,2017-9,Total
OpenProject Admin,7.00,7.00
Total,7.00,7.00
## Expected behavior
1. In the CSV file the hours spent by members working are groupped by day, eg:
<!-- end list -->
Member,2017-09-04,2017-09-05,2017-09-06,2017-09-07,2017-09-08,2017-09-09,Total
OpenProject Admin,6.00,1.00,"","","","",7.00
Total,6.00,1.00,"","","","",7.00
I have found that the grouping parameter `columns` is not added to the CSV download link. If we add `&columns=day` at the end of the report download URL, then the report file is correct. It would be nice if it could be corrected in the UI as well
## Screenshots

> Which browser did you use when you experienced the error?
Mozilla Firefox 55.0.3
> Do you receive any error messages in the rails console or browser console when the error occurs? Please include the error message if applicable.
No.
## Steps to reproduce
1. Go to `/time_entries`, click *Report*
2. Filter to a period with two time entries on at least two separate days
3. In the *Details* selection pick *Days*, in the *Add* selection, pick *Member*, click *Apply*.
4. At the bottom of the page, click *CSV* to download the report file.
## Actual behavior
1. In the CSV file the hours spent by members working are summed for whole month, eg:
<!-- end list -->
Member,2017-9,Total
OpenProject Admin,7.00,7.00
Total,7.00,7.00
## Expected behavior
1. In the CSV file the hours spent by members working are groupped by day, eg:
<!-- end list -->
Member,2017-09-04,2017-09-05,2017-09-06,2017-09-07,2017-09-08,2017-09-09,Total
OpenProject Admin,6.00,1.00,"","","","",7.00
Total,6.00,1.00,"","","","",7.00
I have found that the grouping parameter `columns` is not added to the CSV download link. If we add `&columns=day` at the end of the report download URL, then the report file is correct. It would be nice if it could be corrected in the UI as well
## Screenshots
