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 functionality should be showing exact match result on top #7653

Closed
nihal467 opened this issue Apr 18, 2024 · 7 comments
Closed

Search functionality should be showing exact match result on top #7653

nihal467 opened this issue Apr 18, 2024 · 7 comments
Assignees

Comments

@nihal467
Copy link
Member

Describe the bug

When we perform the search function in the care, it does not show the exact match results on the top.

To Reproduce
Steps to reproduce the behavior:

  1. Go to facilities page
  2. Click on search and type
  3. See the error

Expected behavior

in the search result, the exact match should be shown at the first of the sorting
Ref: https://stackoverflow.com/a/75932387/7887936

Screenshots

image

@hrit2773
Copy link
Contributor

hrit2773 commented Apr 25, 2024

@nihal467 can you assign this to me... while searching we should give priority to the first name and the one which exactly includes the first name should be given priority while sorting. I will make a PR as soon as you assign me. @rithviknishad

@hrit2773
Copy link
Contributor

@nihal467 can you assign this to me it was inactive from the last week

Copy link

Hi, @coronasafe/care-frontend-maintainers, This issue has been automatically marked as stale because it has not had any recent activity.

@hrit2773
Copy link
Contributor

@rithviknishad Iam ready with the PR along with test cases can you assign me back i will immediately make PR

@hrit2773
Copy link
Contributor

ohcnetwork/care#2167 @rithviknishad can you plz review it

Copy link

Hi, @coronasafe/care-frontend-maintainers, This issue has been automatically marked as stale because it has not had any recent activity.

@github-actions github-actions bot added the stale label May 29, 2024
@hrit2773
Copy link
Contributor

@rithviknishad ohcnetwork/care#2167 I already made a PR can you please review it

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

No branches or pull requests

4 participants