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

Generic Medicine: Paracetamol is not sorted first upon search #1556

Closed
rithviknishad opened this issue Aug 25, 2023 · 1 comment · Fixed by #1557
Closed

Generic Medicine: Paracetamol is not sorted first upon search #1556

rithviknishad opened this issue Aug 25, 2023 · 1 comment · Fixed by #1557
Assignees
Labels
Backend P1 High priority; urgent

Comments

@rithviknishad
Copy link
Member

rithviknishad commented Aug 25, 2023

cc: @aparnacoronasafe

Describe the bug
When we search for a generic medicine "Paracetamol" it's not shown in medicines search results

Expected behavior

  • Medicine name exact matches (not word exact) to be sorted first
  • Increase dropdown limit to 30

Screenshots

image image
@rithviknishad rithviknishad added the P1 High priority; urgent label Aug 25, 2023
@rithviknishad rithviknishad self-assigned this Aug 25, 2023
@github-actions
Copy link

⚠️ Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed.
@rithviknishad kindly acknowledge this message by commenting 'Acknowledged' below.

@rithviknishad rithviknishad transferred this issue from coronasafe/care_fe Aug 25, 2023
vigneshhari pushed a commit that referenced this issue Aug 25, 2023
* fixes #1556; sort medicine name exact matches first

* update tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend P1 High priority; urgent
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant