Show dynamically filtered view when clicking on a relationship link

I’ll first ask here if this feature is already producable before labelling it as a feature request.

We can’t filter a view with one click on a relation.

  • Navigate to a view (e.g. list view) and you want to filter the view down based on one of the relations fields in it. For example, you have a Project Tasks list view, listing all the tasks that relate to a particular project, and each tasks has a ‘team’ relation field.
  • I like to be able to click the team, and make the view automatically filter itself to only show tasks of that team, maintaining the existing filters (in this case the project relation)

I could imagine this to happen through a dropdown in the field, although it can be thought through how the workflow best could happen. Entity relationship fields currently allow the following behavior:, as a direct link to the entity display (Alt click) or an editable field of the entity (through a dropdown).

The current alternative, as far as I see, is the manual creation of a new view that includes the necessary filters. This of course is not a solution for an easy workflow.

1 Like

Can someone shed light on this?

The main need I see in views, is dynamic searching and filtering, or what in other other tools is called ‘exposed filters’.

I could imagine that this is possible by making a script that adapts the filter value of the view, triggered by the change of a field (e.g. a Name field of an entity that is accessible for the user when viewing the current view.

As far as I know, automation scripts have no way of accessing the information that indicates what view was on screen at the time of execution.

So although it may in principle be possible to modify view filters in automation scripts, there’s no way of knowing which view should be modified.