Edit_Job_Profile
ahmed.mujtaba 2026-09-15 17:36:17 +05:00
parent a2932fd1bf
commit eaec58bd0e
2 changed files with 0 additions and 7 deletions

View File

@ -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

View File

@ -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: