James Cole
2024-10-10 06:30:05 +02:00
parent 562763c938
commit b41fc43e64
23 changed files with 60 additions and 59 deletions

View File

@@ -46,7 +46,7 @@ class JournalRepository implements JournalRepositoryInterface
$parts = explode(' ', $line);
foreach ($parts as $part) {
$search = sprintf('%%%s%%', $part);
$q->orWhere('description', 'LIKE', $search);
$q->orWhereLike('description', $search);
}
}
});