Add cardinality_unlimited taxonomy reference to custom entity
This is the best solution I have been able to come up with so far.  Answers are still welcome, because I still don't know:


Why this is happening, is it a views bug?
Could I have created the field in a way that using a hook to alter the query is not necessary?


What I ended up doing was using hook_views_pre_execute(Drupal\views\ViewExecutable $view) to get the query out of $view-&gt;build_info['query']-&gt;getTables() and then manually change the condition on my join table to use the correct column, which was not poll__cat.cat but rather poll__cat.cat_target_id.