Skip to content

Commit

Permalink
Make the scheduler ignore manually scheduled talks
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonty committed May 18, 2024
1 parent 7e34668 commit ac392b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/cfp/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ def get_scheduler_data(
.filter(
Proposal.user_scheduled.is_(False)
) # NOTE: This ignores all village-scheduled content
.filter(
Proposal.manually_scheduled.isnot(True)
) # Used when we manually schedule things into slots and we want the scheduler to ignore them
.order_by(Proposal.favourite_count.desc())
.all()
)
Expand Down

0 comments on commit ac392b3

Please sign in to comment.