In QGIS 2.14.11 LTR I have to apply the same (or similiar) filter query to various layers. I have the road name to filter for in a project variable and try to apply the following query:
"road_name" = @current_road
This works as expected in a 'select by expression', but returns 0 row as a filter query, where I obviously have to use
"road_name" = 'the road name'
As variables are obviously not evaluated in filter queries, is there a deeper reason for this that I don't see, and is there another way/syntax to use variables in filter queries?