Commit b62838e8 by Jonathan Reinink

Remove legacy code

1 parent c7f860b3
Showing with 0 additions and 2 deletions
...@@ -34,8 +34,6 @@ class Contact extends Model ...@@ -34,8 +34,6 @@ class Contact extends Model
$query->where('name', 'ilike', '%'.$search.'%'); $query->where('name', 'ilike', '%'.$search.'%');
}); });
}); });
// })->when($filters['role'] ?? null, function ($query, $role) {
// $query->whereRole($role);
})->when($filters['trashed'] ?? null, function ($query, $trashed) { })->when($filters['trashed'] ?? null, function ($query, $trashed) {
if ($trashed === 'with') { if ($trashed === 'with') {
$query->withTrashed(); $query->withTrashed();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!