Skip to content

Commit 8acec18

Browse files
committed
fix variable name
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
1 parent cfdbc24 commit 8acec18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Engines/MeilisearchEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ protected function filters(Builder $builder)
188188
$operator = $where['operator'];
189189

190190
if ($value instanceof BackedEnum) {
191-
return sprintf('%s%s%s', $key, $operator, $value->value);
191+
return sprintf('%s%s%s', $field, $operator, $value->value);
192192
}
193193

194194
if (is_bool($value)) {

0 commit comments

Comments
 (0)