I have a View that contains many blocks. I want to customize the query for a specific block.
I have tried
views_query_alter() hook and
$view->query->add_where, but in this case the query will be modified for all blocks.
Any idea of how to customize the query using
add_where for a specific block?