Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix Categories encoding in search method

  • Loading branch information...
commit 065b11b01ecfc4333529ab79b10b85a22ff2350e 1 parent dfb7d03
Leandro Oniszczuk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Indextank/Index.php
2  Indextank/Index.php
View
@@ -395,7 +395,7 @@ private function as_search_param( $query, $start = NULL, $len = NULL, $scoring_f
$params["fetch"] = $fetch_fields;
}
if ($category_filters != NULL) {
- $params["category_filters"] = $category_filters;
+ $params["category_filters"] = json_encode($category_filters);
}
if ($variables) {
foreach ($variables as $k => $v)
Please sign in to comment.
Something went wrong with that request. Please try again.