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

Bug Report : Search Functionality Fails for Full Name or Partial Matches Beyond First Name #3388

Open
Nivedita-Chhokar opened this issue Jan 22, 2025 · 3 comments
Assignees
Labels
bug Something isn't working unapproved

Comments

@Nivedita-Chhokar
Copy link

Describe the bug
The search functionality in the "People" section only works when searching for the first name of a person. If a user searches with the full name, includes spaces after the first name, or inputs a partial match beyond the first name, the result displays "people.nothingToShow," which is misleading and inappropriate.

To Reproduce
Steps to reproduce the behavior:

  1. Login as a user.
  2. Navigate to the "People" section on the website
  3. Enter the first name of a person in the search bar – results are displayed correctly.
  4. Enter the full name (e.g., "Harve Lance") or add extra spaces (e.g., "Harve ") – results display "people.nothingToShow."

Expected behavior
The search functionality should support full names, partial matches, and cases with spaces. Users should be able to find a person even with incomplete or extended queries.

Actual behavior
The search only matches the beginning of the first name. Any deviation results in "people.nothingToShow," which is not an accurate or helpful message for the user.

Screenshots

20250122150712.mp4

Additional details
I am currently working on this.

Potential internship candidates

Please read this if you are planning to apply for a Palisadoes Foundation internship

@Nivedita-Chhokar Nivedita-Chhokar added the bug Something isn't working label Jan 22, 2025
@Nivedita-Chhokar
Copy link
Author

@palisadoes I'd like to work on this issue. Please assign it to me.

@yashs33244
Copy link

May I request the opportunity to address this issue? If approved, kindly assign it to me.

@Nivedita-Chhokar
Copy link
Author

@yashs33244 I have solved the issue and will be raising a PR shortly, you can work on another issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unapproved
Projects
None yet
Development

No branches or pull requests

2 participants