Commit 5d7c3548 authored by Thomas Seiber's avatar Thomas Seiber
Browse files

Issue #3227659 by drunken monkey, daften: Fixed double-escaped query...

Issue #3227659 by drunken monkey, daften: Fixed double-escaped query parameters when using the Views "Preserve facets" option.
parent caff9cac
Loading
Loading
Loading
Loading
+2 −0
Changes for CHANGELOG.txt: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
Search API 1.x, dev (xxxx-xx-xx):
---------------------------------
- #3227659 by drunken monkey, daften: Fixed double-escaped query parameters
  when using the Views "Preserve facets" option.
- #3227268 by drunken monkey, Driskell: Fixed inconsistent collation in
  Database backend.
- #3196990 by nguerrier, ekes, drunken monkey, hswong3i: Fixed wrong query and
+2 −1
Changes for search_api.module: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -615,9 +615,10 @@ function search_api_form_views_exposed_form_alter(&$form, FormStateInterface $fo
        continue;
      }
      // Add a hidden form field for the facet parameter.
      $form["{$filter_key}[$key]"] = [
      $form[$filter_key][$key] = [
        '#type' => 'hidden',
        '#value' => $value,
        '#name' => "{$filter_key}[$key]",
      ];
    }
  }