Ajout du score global et du tri dynamique dans la liste des candidats

This commit is contained in:
jeremy bayse
2026-03-20 17:51:17 +01:00
parent 5c2bcb0169
commit 898b56c535
2 changed files with 95 additions and 13 deletions

View File

@@ -15,7 +15,7 @@ class CandidateController extends Controller
{
public function index()
{
$candidates = Candidate::with(['user', 'documents'])->latest()->get();
$candidates = Candidate::with(['user', 'documents', 'attempts'])->latest()->get();
return \Inertia\Inertia::render('Admin/Candidates/Index', [
'candidates' => $candidates