care_fe icon indicating copy to clipboard operation
care_fe copied to clipboard

Search functionality should be showing exact match result on top

Open nihal467 opened this issue 10 months ago • 5 comments

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

nihal467 avatar Apr 18 '24 10:04 nihal467

@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 avatar Apr 25 '24 18:04 hrit2773

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

hrit2773 avatar Apr 27 '24 07:04 hrit2773

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

github-actions[bot] avatar May 12 '24 04:05 github-actions[bot]

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

hrit2773 avatar May 14 '24 15:05 hrit2773

https://github.com/coronasafe/care/pull/2167 @rithviknishad can you plz review it

hrit2773 avatar May 15 '24 03:05 hrit2773

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

github-actions[bot] avatar May 29 '24 04:05 github-actions[bot]

@rithviknishad https://github.com/coronasafe/care/pull/2167 I already made a PR can you please review it

hrit2773 avatar May 29 '24 04:05 hrit2773