WIP: fix amount per slot
Closes #335
What does this MR do?
This MR fixes the issue #335 by dividing the amount of food saved through the number of used slots for each pickup.
How confident are you it won't break things if deployed?
About
- 80% on the technical side
- 30% on the user acceptance side
Links to related issues
#335
#488 (this MR is not for that issue, but it requires a manual update of the stats. It could be sensible to deal with this at the same time)
Checklist
-
added a test, or explain why one is not needed/possible... -
no unrelated changes -
asked someone for a code review -
joined #foodsharing-beta channel at https://slackin.yunity.org -
added an entry to CHANGELOG.md (description, merge request link, username(s))
Edited by diejani