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

fix: update ModEditHealthcareProfessionalSection to search by language name instead of locale code #1053

Open
2 tasks
prestonb91 opened this issue Feb 17, 2025 · 1 comment · May be fixed by #1062
Open
2 tasks
Assignees
Labels
bug Something isn't working good first issue Good for newcomers moderation panel

Comments

@prestonb91
Copy link

prestonb91 commented Feb 17, 2025

Problem

Currently ModEditHealthcareProfessionalSection with ModSearchBar searches by locale code instead of the full language name.
This means when typing in i.e. English, it will only show up if "en" is typed, but "eng" will not display any results.

Image Image

Success

In moderation panel healthcare professionals, should be able to search languages and show results with their full name instead of locale code.

Requirements

  • When searching language, results show based on language name instead of locale code.
  • Still saves the locale code to the spoken locales as that is what the server needs

Implementation notes

Related files:
ModSearchBar.vue
ModEditHealthcareProfessionalSection.vue
healthcareProfessionalStore.ts

@prestonb91 prestonb91 added bug Something isn't working good first issue Good for newcomers moderation panel labels Feb 17, 2025
@prestonb91 prestonb91 self-assigned this Feb 17, 2025
@NabbeunNabi
Copy link
Contributor

But it still saves the locale code to the spoken locales as that is what the server needs 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers moderation panel
Projects
None yet
2 participants