Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All cost details show wrong sum in dashboard #638

Closed
poacherone opened this issue Feb 26, 2020 · 0 comments
Closed

All cost details show wrong sum in dashboard #638

poacherone opened this issue Feb 26, 2020 · 0 comments

Comments

@poacherone
Copy link
Collaborator

On the development branch, the column "All cost details" doesn't show the correct total sum, but instead multiplies it (double or tripling the correct sum).

This seems related to #603, but here applies to "All cost details" (and not necessarily to multiple subjects, I've found examples of tripled sums with only one subject) . #576 changes a lot of the code on the sums of the dashboard. Each cost detail has an DISTINCT added before the SUM, and I think the sum of all cost details need a DISTINCT as well to work as intended. A quick local fix seems to have resolved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants