Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Searching for an OS ID that has been merged returns no results instead of the merge target #2354

Open
mariel-oar opened this issue Jan 18, 2023 · 1 comment
Labels
bug Something isn't working task 66 Support, maintenance, bug fixes (deployments, bugs, troubleshooting for clients) - Q1 2023
Milestone

Comments

@mariel-oar
Copy link

Overview

When an ID that has been merged into another OS ID is searched for via the front-end search field ("Facility Name or OS ID"), the following message is returned: "No facilities matching this search"
If that same ID is then searched for via the URL, it successfully returns the facility profile for the target ID that the other ID was merged into.

Actual Behavior

You can take any merged ID from this sheet - merged IDs are those in columns G or later - search it in the front-end search field and see that it results in an error. When this same ID is searched via the URL, it returns a result.

Here are a few IDs that you can try this with:
MM2021012SS35XS
IN2019091MVS5C6
VN2022019M7MHTE

Steps to Reproduce

  • Take one of the IDs above and enter it in the search box on the front-end
  • See that no results are found
  • Take the same ID and enter it in the URL (e.g. https://opensupplyhub.org/facilities/#######)
  • See that a result is returned

Demo

Screen.Recording.2023-01-18.at.4.52.02.PM.mov
@mariel-oar mariel-oar added the bug Something isn't working label Jan 18, 2023
@jwalgran jwalgran changed the title Merged IDs return error when searched from search field Searching for an OS ID that has been merged returns no results instead of the merge target Jan 19, 2023
@jwalgran
Copy link
Contributor

Please add your planning poker estimate with Zenhub @TaiWilkin

@obrienad obrienad added the task 66 Support, maintenance, bug fixes (deployments, bugs, troubleshooting for clients) - Q1 2023 label Jan 19, 2023
@obrienad obrienad added this to the 2023 Q1 milestone Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working task 66 Support, maintenance, bug fixes (deployments, bugs, troubleshooting for clients) - Q1 2023
Projects
None yet
Development

No branches or pull requests

3 participants