Fix invisible overbooked pickups
9 of #633 (closed)
What does this MR do?
Fixes the invisible overbooked pickups, which can happen if the number of slots was reduced.
How confident are you it won't break things if deployed?
Very, the emptySlots
function isn't used anywhere else
Checklist
-
added a test, or explain why one is not needed/possible... not sure how to include this in tests -
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))