* #99 - ui changes * #99 - logo fix * #99 - tailwind plugin for eslint * #99 - fix * #99 - fix * #99 - fix pagination * #99 - fix logo Co-authored-by: EwelinaLasowy <ewelina.lasowy@blumilk.pl>
This commit is contained in:
@@ -103,9 +103,9 @@ class User extends Authenticatable
|
||||
}
|
||||
|
||||
return $query
|
||||
->where("first_name", "ILIKE", $text)
|
||||
->orWhere("last_name", "ILIKE", $text)
|
||||
->orWhere("email", "ILIKE", $text);
|
||||
->where("first_name", "ILIKE", "%{$text}%")
|
||||
->orWhere("last_name", "ILIKE", "%{$text}%")
|
||||
->orWhere("email", "ILIKE", "%{$text}%");
|
||||
}
|
||||
|
||||
public function scopeWithVacationLimitIn(Builder $query, YearPeriod $yearPeriod): Builder
|
||||
|
@@ -113,7 +113,7 @@ class VacationRequestController extends Controller
|
||||
"users" => UserResource::collection($users),
|
||||
"filters" => [
|
||||
"status" => $status,
|
||||
"user" => $user,
|
||||
"user" => (int)$user,
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user