Fix bug from store refactoring
What does this MR do?
Fixes https://sentry.io/share/issue/a76569a894874731b5394ca91ef4092a/ that was introduces in !1196 (merged). A column was missing in an SQL request.
How confident are you it won't break things if deployed?
Very
How to test
Steps a reviewer can take to verify that this MR does what it says it does e.g.
- Checkout branch locally
- Login as foodsaver
- Go to the map and request access to a store
- Login as orga
- Go to the store's page via the map again
- The page should open without problems (it fails on beta)
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)) -
Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings