Embedding a view for search and redirection
Following this reply on drupal.org and this answer on SO, I added a hook:

function my_module_views_pre_build(ViewExecutable $view) {
  if ($view-&gt;id() == 'my_view_id') {
    $view-&gt;override_url = Url::fromRoute('&lt;current&gt;');
  }
}


Some of the assumptions in Drupal and the workarounds are so annoying. Days wasted. :(