fixes #337 - use MIN instead of MAX
Closes #337 (closed)
What does this MR do?
Days shown in betrieb bell were wrong before: if more than one unconfirmed collection existed, the most distant date was shown. Now, the nearest date is shown.
How confident are you it won't break things if deployed?
confident
Links to related issues
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 Chris Oelmueller