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

Display producers with multi-status certifications in search #74

Open
mariocarabotta opened this issue Jul 16, 2024 · 0 comments
Open

Comments

@mariocarabotta
Copy link

When a producer has a certification with multiple status like Organic and Biodynamic then the search in the directory doesn't find that enterprise under either option. So searching for Organic is missing that enterprise. This requires work within the web component.

Option 1: Fix the component to search through arrays of statuses of certifications.
Option 2: Provide an API endpoint for the search by certification.

Option 2 is more work for us but preferred long-term. It reduces code in the component, makes the search more efficient and other tweaks to the search can be implemented in the API without touching the component.

@mkllnk mkllnk added this to the SiB Fixes round 1 milestone Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants