It would be useful to extend the filter options to other field than just entity reference.
For example filtering by media bundle in the media library, or with boolean/list fields.

Comments

camdarley created an issue.

flocondetoile’s picture

I will look at this feature as soon as I can.
Anyway patchs are also welcome.

flocondetoile’s picture

It would be easier now than #2621504: \Drupal\views\Plugin\views\field\Field::getValue needs to support entity reference items has landed, to retrieve fields and their type inside the views style plugin.