care_fe
care_fe copied to clipboard
Search functionality should be showing exact match result on top
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:
- Go to facilities page
- Click on search and type
- 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
@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
@nihal467 can you assign this to me it was inactive from the last week
Hi, @coronasafe/care-frontend-maintainers, This issue has been automatically marked as stale because it has not had any recent activity.
@rithviknishad Iam ready with the PR along with test cases can you assign me back i will immediately make PR
https://github.com/coronasafe/care/pull/2167 @rithviknishad can you plz review it
Hi, @coronasafe/care-frontend-maintainers, This issue has been automatically marked as stale because it has not had any recent activity.
@rithviknishad https://github.com/coronasafe/care/pull/2167 I already made a PR can you please review it