Edit_Job_Profile
parent
a2932fd1bf
commit
eaec58bd0e
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue