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

MBS-13771: Filter edit search by entity type #3484

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

reosarevok
Copy link
Member

@reosarevok reosarevok commented Feb 21, 2025

Implement MBS-13771

Description

This adds a way to filter edit searches by entity type. I implemented this because of a request to filter by the primary type of release groups, but since it's a trivially reusable role, and this seems like a useful filter for every entity type with types, I am adding it for every entity with types. RG secondary types don't use the role (they could in a similar way to EntityArea, but I did not see the point of complicating the role significantly for a one-off) but other than that work the same as all other types.

Testing

Manually, searching for edits with all kinds of type filters and making sure the results seem sensible.

I implemented this as a hopefully trivially reusable role, since this seems
like a useful filter for every entity type with types.
Just reuses the code I added for RGs. There's *a lot* of work types though,
so this sets a maximum size of 10 for the options list by default so that it
doesn't take the whole page.
@reosarevok reosarevok changed the title MBS-13771: Filter edit search by RG primary type MBS-13771: Filter edit search by entity type Feb 25, 2025
@reosarevok reosarevok marked this pull request as ready for review February 25, 2025 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant