akerr501 / akerr501/CS361-Ethical-Eating-Project
Public meals aren't immediately searchable
- 主要語言
- JavaScript
- 星號
- 0
- 分支
- 2
- PR 合併指標
- 30 天內沒有已合併 PR
描述
When a user adds a meal to Ethical Eating they have the choice of making it a public meal, all public meals should be searchable or should show up in the browse page, but currently when a user adds a meal and sets it to public, it isn't included in the results. This can be replicated by signing in to a user account, adding a meal, selecting to make the meal public, and then searching for the meal or browsing for the meal. The issue is that the meal is being properly stored in the meal json file, but the server uses a variable copy of the json file to get search and browse results. The variable needs to be refreshed after adding a meal or each time the search/filter routes are called. If a user adds a meal and the server is reset, the added meal will be included in the search/filter results properly since the meal variable will have been reloaded when the server was restarted.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。