Skip to content

Conversation

@EinLama
Copy link
Contributor

@EinLama EinLama commented Jan 8, 2026

Ticket

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

What are you trying to accomplish?

Remove the type = User restriction on the filter component, so that groups and placeholder users can also be found.

Included some minor drive-by rubocop fixes for neighboring specs.

Screenshots

image

What approach did you choose and why?

Simply removed the restriction from the base class that only matched on principals of type user. Apart from the project filter, the meetings filter is inheriting from the base class, too. Therefore, this change alters meetings filters – in theory. In practice, there is no user custom field filter for meetings, so this change has no effect on meetings.

Merge checklist

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

@EinLama EinLama force-pushed the bug/68702-project-cf-of-type-user-does-not-display-groups-or-placeholder-users branch from 2960687 to a14ba9c Compare January 8, 2026 14:47
@EinLama EinLama marked this pull request as ready for review January 8, 2026 14:52
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.

2 participants