Problem/Motivation

Currently, the VERF views exposed filter select list displays all referenceable target entities of the selected bundles. While this works in many cases, there are scenarios where we want to restrict the exposed dropdown options to only those target entities that are actually referenced by at least one active/published host entity.

For instance, on a view listing videos with an exposed filter for "Event", showing events that have no videos associated with them results in empty query results when selected. It would be a great feature if the filter settings had an option (e.g. "Only show referenced entities") to restrict the list to target entities with active references.

Proposed resolution

Add a configuration option to the VERF filter plugin (e.g., a checkbox: "Only show referenced entities") that filters the options list.

Comments

prem suthar created an issue. See original summary.

prem suthar’s picture

Issue summary: View changes