Skip to content

Commit

Permalink
fix: revert back to fallback for array filter values in where
Browse files Browse the repository at this point in the history
  • Loading branch information
tharropoulos committed Oct 25, 2024
1 parent f1f1ae2 commit a673914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Engines/TypesenseEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ protected function parseFilterValue(array|string|bool|int|float $value)
protected function parseWhereFilter(array|string $value, string $key): string
{
return is_array($value)
? sprintf('%s:[%s]', $key, implode(',', $value))
? sprintf('%s:%s', $key, implode('', $value))
: sprintf('%s:=%s', $key, $value);
}

Expand Down

0 comments on commit a673914

Please sign in to comment.