Add text to search criteria and expand placeholder note

This commit is contained in:
ryan committed 2024-05-17 09:10:12 -04:00
1 parent 9a76624d1c
commit 212021b261
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -39,6 +39,7 @@ class NoteRepository extends ServiceEntityRepository
->orderBy('n.date', 'DESC')
->where('n.title LIKE :query')
->orWhere('n.passage LIKE :query')
->orWhere('n.text LIKE :query')
->andWhere('n.user = :user')
->setParameter('query', "%{$query}%")
->setParameter('user', $userId)