fix text fields and exists operator

This commit is contained in:
2023-10-25 14:19:44 +03:00
parent 535266db64
commit 944ba96d53
6 changed files with 20 additions and 58 deletions
+2 -2
View File
@@ -26,10 +26,10 @@ class Record implements JsonSerializable
return trim(Str::lower(collect($arrObject)
->map(function($value){
if(!is_string($value)){
if(is_array($value)){
return $this->indexValues($value ?? []);
}
return $value;
return (string)$value;
})
->values()->join(" ")." ". $this->_file?->originalName ?? ""));
}