I have read a dozen of open tickets on this issue, but none of them explains how to solve this. Lets say I have a raw array of nids and wanting to override the query in a hook for the nid filter. The nid filter allows only 1 value or some of the operators given in the image below.
There isnt an operator "is one of" as in the taxonomy reference filter. So how could this be overriden and allow multiple values for the nids? Is this possible perhaps within the hook_views_query_alter()?
Regular expression
? Here is an example: drupal.stackexchange.com/questions/267914/…Regular expression
with^[nid1|nid2|nid3]$
replacing nid1 etc with the actual IDs.^(nid1|nid2|nid3)$