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

Include type in select to have correct behaviour in name method #17602

Conversation

ulferts
Copy link
Contributor

@ulferts ulferts commented Jan 14, 2025

Ticket

https://community.openproject.org/wp/60563

What are you trying to accomplish?

Fix:

image

What approach did you choose and why?

Including the type in the select will lead to the correct class being instantiated which will cause the correct #name method to be called.

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

@ulferts ulferts force-pushed the bug/60563-users-are-shown-incorrectly-in-custom-field-filter-for-projects-of-type-user branch from b7fdf0f to d48d363 Compare January 14, 2025 13:43
@ulferts ulferts merged commit 4e00841 into release/15.2 Jan 14, 2025
11 checks passed
@ulferts ulferts deleted the bug/60563-users-are-shown-incorrectly-in-custom-field-filter-for-projects-of-type-user branch January 14, 2025 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant