Commit 5a463973 authored by Andy Whale's avatar Andy Whale Committed by Thomas Seidl
Browse files

Follow-up to #2378945 by andy_w, Kristen Pol, drunken monkey: Fixed...

Follow-up to #2378945 by andy_w, Kristen Pol, drunken monkey: Fixed facets-preserving functionality for Views blocks.
parent 928eb72c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -696,7 +696,7 @@ function search_api_form_views_exposed_form_alter(&$form, FormStateInterface $fo
  if (!($view instanceof ViewExecutable)) {
    return;
  }
  $query_plugin = $view->query;
  $query_plugin = $view->getQuery();

  // Make sure the view is based on Search API and has the "Preserve facets"
  // option enabled, and that the Facets module is installed.