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

You cannot search the map by OAR ID number #121

Closed
katieashaw opened this issue Jan 22, 2019 · 5 comments
Closed

You cannot search the map by OAR ID number #121

katieashaw opened this issue Jan 22, 2019 · 5 comments
Assignees

Comments

@katieashaw
Copy link

Overview

You cannot search the map using an OAR ID number.

Expected Behavior

If an OAR ID number is entered as the search term in the site, you would expect the facility that the ID number relates to to be returned in the results.

Actual Behavior

No matches are returned when you search the site by OAR ID number.

Steps to Reproduce

  • Log onto the site
  • Enter an OAR ID number into the "facility name' search box

Demo

N/A

Additional context

It's also not intuitive for users who want to search the site using an OAR ID number to put this into the "Facility name" search box. Could we either re-name this search box, or add an additional free text search box?

@katieashaw
Copy link
Author

We received an instance of a user reporting an issue on the OAR using just the ID number - see screenshot from their email:

Screenshot 2019-04-03 at 17 41 00

@katieashaw
Copy link
Author

This was another instance of an issue being reported using the OAR ID number:

Screenshot 2019-04-03 at 17 55 21

@katieashaw
Copy link
Author

We've had a further instance of a user reporting an issue using the OAR ID number - see screenshot below.

Screenshot 2019-04-23 at 10 15 35

@jwalgran
Copy link
Contributor

As a stopgap until we implement this feature, it is possible to jump straight to a facility by adding the OAR ID to this URL: https://openapparel.org/facilities/. For example, to see the facility mentions in the error report:

https://openapparel.org/facilities/PK20191085SEHP3

@katieashaw
Copy link
Author

Oh, this is great - thank you @jwalgran !

@kellyi kellyi self-assigned this Jul 12, 2019
kellyi pushed a commit that referenced this issue Jul 17, 2019
Add `q=` free text param to facilities API endpoint

Connects #121
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants