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

Typeaheads showing both the ROR name and internal Org name #689

Open
briri opened this issue Jan 29, 2025 · 0 comments
Open

Typeaheads showing both the ROR name and internal Org name #689

briri opened this issue Jan 29, 2025 · 0 comments

Comments

@briri
Copy link
Collaborator

briri commented Jan 29, 2025

The typeahead boxes on the account creation, account profile, create plan, edit plan details, contributors all show both the ROR name for an organization (from the registry_orgs table) and the internal name for the organization (from the orgs table).

The typeahead should only display the ROR name when the registry_org record does NOT have a related org in the orgs table.

For example:
University of Colorado Anschutz Medical Campus (cuanschutz.edu) is the name of the Org in the registry_orgs table and that record has an FKey to the orgs table's University of Colorado Anschutz Medical Campus (CU Anschutz) record

The system correctly attaches the id for the record from the orgs table to the plan and contributor regardless of which entry is selected

The login and profile pages though do not work when the user selects the incorrect entry.

The typeahead should show:

  • All matching records from the orgs table
  • ONLY matching records from the registry_orgs table that do NOT have an associated record in the orgs table.

Unclear why this is happening now. Suspect that it may have been introduced during the Rails 7/ Ruby upgrade and we did not notice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant