Describe the bug
On a fresh install of Grimoire using git clone and docker-compose up, running localhost without any default settings changed, the search feature is not working.
Inspecting traffic, I can see it's attempting to filter the relevant results based on the ids parameter being passed to the http://localhost:5173/api/bookmarks endpoint, however when any IDs are being passed in the array through the parameter, it's rejecting with a 500 and:
Add a bookmark (I did it through Chrome companion extension)
Try to search for title of bookmark
Confirm no results show up
Inspect traffic, see that ids param populates with ID of correct bookmark(s) when typing, however server is returning 500
Intentionally search for incorrect bookmark, and confirm that the ids field is blank, and it returns 200
Expected behavior
When the HTTP request is generated for the /api/bookmarks endpoint and an array of ids is being passed through, the server should be responding with a 200 HTTP response with the metadata of the relevant bookmarks requested, and not a 500 Internal Server Error.
Screenshots
Desktop (please complete the following information):
Describe the bug On a fresh install of Grimoire using git clone and docker-compose up, running localhost without any default settings changed, the search feature is not working.
Inspecting traffic, I can see it's attempting to filter the relevant results based on the
ids
parameter being passed to the http://localhost:5173/api/bookmarks endpoint, however when any IDs are being passed in the array through the parameter, it's rejecting with a 500 and:To Reproduce Steps to reproduce the behavior:
ids
param populates with ID of correct bookmark(s) when typing, however server is returning 500ids
field is blank, and it returns 200Expected behavior When the HTTP request is generated for the /api/bookmarks endpoint and an array of ids is being passed through, the server should be responding with a 200 HTTP response with the metadata of the relevant bookmarks requested, and not a 500 Internal Server Error.
Screenshots
Desktop (please complete the following information):