This commit is contained in:
Simon Pocrnjič
2024-11-22 09:42:40 +01:00
parent ee2681b9fb
commit 74d40a4087
+1 -1
View File
@@ -40,7 +40,7 @@ public function show(Client $client, Request $request) {
->when($request->input('search'), fn($que, $search) =>
$que->whereHas(
'person',
fn($q) => $q->where('full_name', 'like', '%' . $search . '%')
fn($q) => $q->where('full_name', 'ilike', '%' . $search . '%')
)
)
->where('active', 1)