Skip to content

Conversation

martakam
Copy link
Member

@martakam martakam commented Nov 11, 2026 •

Along with searching for book titles using the main search bar, users may now also search for authors.

This PR builds upon #117, so it should be merged after that one.

Closes #99

This also refactors the orderBy logic in searchBooks, since that started to become some delicious spaghetti
This adds a publish_year SQL column which we will fill out with values once.
The frontend no longer needs to extract the publish year, since the backend does it
This sorts for books with most ratings first instead of sorting by id.
This is done with sorting by most ratings first, and fuzzy matching is still used when no books match a query
@martakam martakam added the enhancement New feature or request label Nov 11, 2026
@martakam martakam self-assigned this Nov 11, 2026
@martakam martakam requested a review from a team as a code owner November 11, 2026 21:43
hestro
hestro previously approved these changes Nov 12, 2026
Copy link
Member

@hestro hestro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Searching for authors worked as expected. Great!

@martakam martakam dismissed hestro’s stale review November 12, 2026 14:46

The merge-base changed after approval.

Sign in to join this conversation on GitHub.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: add search for author
2 participants