Library search does not match series names #15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The library search input on
/matches title and author name (case-insensitive substring) but not series. Typing a series name returns no results even when books in that series exist.Source:
internal/web/handler.goLibraryGetcallsstore.SearchBooks(q)(defined ininternal/store/books.go), which JOINs onlybook_authors/authors. Comparestore.AdminSearchBooksininternal/store/admin.gowhich already includesb.series LIKE ?— likely the same predicate should be added toSearchBooks.Found while testing the htmx search migration on PR #14.