Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search feature in Home page #177

Open
lngoctam opened this issue May 22, 2024 · 2 comments
Open

Search feature in Home page #177

lngoctam opened this issue May 22, 2024 · 2 comments

Comments

@lngoctam
Copy link

Describe the bug
The search function in the user library is not returned as expected. Instead of just returning the searched books only, it returns the searched book first, then followed by the rest of the books. This behavior may cause confusion and annoyance for users who expect a clear result.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Home'
  2. Click on 'magnifying glass icon'
  3. Type keyword:” years”
  4. See result

Expected behavior
Only books containing the keyword “years” should be returned, as can be seen in the search feature of the "Free books" section.

Screenshots
An issue when searching in user library
issue link 1

Expected behavior in Free books section
issue link 2

Desktop (please complete the following information):

  • OS: Windows 11
@DavidLazarescu
Copy link
Member

Hi, thanks for the feedback, but this behavior is intended. It is a fuzzy search and should sort your library by their similarity to the text you search for.

@lngoctam
Copy link
Author

Should this behavior remain as it is, or should it be adjusted to function similarly to the search feature in the Free Books section?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants