diff --git a/backend/job/candidate/models.py b/backend/job/candidate/models.py index 1c1943a..ed8bc7a 100644 --- a/backend/job/candidate/models.py +++ b/backend/job/candidate/models.py @@ -1362,9 +1362,6 @@ class Interviews(SQLModel, table=True): @classmethod def scoped_to_recruiter(cls, statement, recruiter_id): """Restrict an Interviews select to the recruiter who owns the job. - - COALESCE(interviews.job_post_id, inbox_messages.assigned_job_post_id) - → job_posts.current_recruiter_id. Interviews with no job drop out. """ from inbox.models import Inbox, Inbox_Messages from job.job_post.models import JobPosts diff --git a/backend/notifications/views.py b/backend/notifications/views.py index 559f7e3..001734a 100644 --- a/backend/notifications/views.py +++ b/backend/notifications/views.py @@ -208,10 +208,6 @@ async def system_admin_ids(session): async def job_recruiter_ids(session, job): """Recruiters currently linked to the job post. - - Uses the live pointer (current_recruiter_id), the JSON list - (current_recruiter_ids), and open job_assignments rows with - assignment_role=primary_recruiter. """ ids = set() if job is None: