Filterable collections

## OpenProject work packages

* https://community.openproject.org/work_packages/17426

## Remarks

This PR is based on #2214 and will be rebased onto `dev` as soon as the base PR is merged.