Skip to content

Commit

Permalink
Fix for exporting PhD students (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisJordan authored Aug 13, 2024
1 parent 6aa6abf commit 238e16b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions backend/services/academics/hiring.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,7 @@ def get_phd_applicants(
select(ApplicationReviewEntity)
.where(ApplicationReviewEntity.application_id.in_(application_ids))
.where(ApplicationReviewEntity.status == ApplicationReviewStatus.PREFERRED)
.options(
joinedload(ApplicationReviewEntity.course_site).joinedload(
CourseSiteEntity.sections
)
)
.options(joinedload(ApplicationReviewEntity.course_site))
)
instructor_preferences = self._session.scalars(instructor_review_query).all()
for review in instructor_preferences:
Expand Down

0 comments on commit 238e16b

Please sign in to comment.