From 732df1439af4969d96f0e18ecde7e438706c02f2 Mon Sep 17 00:00:00 2001 From: Horilla Date: Mon, 6 Nov 2023 12:04:59 +0530 Subject: [PATCH] [FIX] ONBOARDING: Individual candidate matching query issue --- onboarding/views.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/onboarding/views.py b/onboarding/views.py index bea77a214..fb1620ed3 100644 --- a/onboarding/views.py +++ b/onboarding/views.py @@ -405,7 +405,10 @@ def candidate_delete(request, obj_id): @login_required @permission_required("recruitment.view_candidate") def candidates_single_view(request,id): - candidate = Candidate.objects.get(hired=True, start_onboard=True,id=id) + """ + Canidate individual view for the onboarded candidates + """ + candidate = Candidate.objects.get(id=id) if not CandidateStage.objects.filter(candidate_id=candidate).exists(): try: onboarding_stage = OnboardingStage.objects.filter(