[GH-ISSUE #477] Error when searching for a keyword that does not exist in the database #290

Closed
opened 2026-02-25 23:33:53 +03:00 by kerem · 1 comment
Owner

Originally created by @Katarn on GitHub (Sep 12, 2022).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/477

Just try typing in the search field something like "asdjalksdjlasjd".

failed to expand bookmark_tag query: empty slice passed to 'in' query (500)

I use sqlite backend. Apparently it happens here:

github.com/go-shiori/shiori@3deeda7151/internal/database/sqlite.go (L351-L359)

And apparently the bookmarkIds array is empty.

Shiori v1.5.3.

Originally created by @Katarn on GitHub (Sep 12, 2022). Original GitHub issue: https://github.com/go-shiori/shiori/issues/477 Just try typing in the search field something like "asdjalksdjlasjd". > failed to expand bookmark_tag query: empty slice passed to 'in' query (500) I use `sqlite` backend. Apparently it happens here: https://github.com/go-shiori/shiori/blob/3deeda7151b8d719df2d9b7ac74cdcad16aa805e/internal/database/sqlite.go#L351-L359 And apparently the `bookmarkIds` array is empty. Shiori v1.5.3.
Author
Owner

@fmartingr commented on GitHub (Oct 9, 2022):

Closed by #494

<!-- gh-comment-id:1272605019 --> @fmartingr commented on GitHub (Oct 9, 2022): Closed by #494
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#290
No description provided.