- Issue created by @alanburke
- 🇮🇪Ireland alanburke
Proper patch to follow. Dumping here for now
diff --git a/web/modules/contrib/search_api_decoupled/src/Controller/SearchApiEndpointController.php b/web/modules/contrib/search_api_decoupled/src/Controller/SearchApiEndpointController.php
index 6f91aacf..3d110e13 100644
--- a/web/modules/contrib/search_api_decoupled/src/Controller/SearchApiEndpointController.php
+++ b/web/modules/contrib/search_api_decoupled/src/Controller/SearchApiEndpointController.php
@@ -229,7 +229,7 @@ protected function prepareQuery(Request $request, SearchApiEndpointInterface $se// Add conditions for all query parameters.
foreach ($request->query->all() as $key => $value) {
- if (!in_array($key, $index_fields)) {
+ if (!in_array($key, array_keys($index_fields))) {
continue;
}
if (in_array($key, $query->getFulltextFields())) { - @alanburke opened merge request.
- @alanburke opened merge request.
- Status changed to Fixed
about 1 year ago 2:46pm 10 November 2023 - 🇩🇪Germany a.dmitriiev
Thanks for the fix. Merged. And new version released.
Automatically closed - issue fixed for 2 weeks with no activity.