Skip to content

Commit

Permalink
PLAN-522 fix boundary for double booked
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry committed Jul 6, 2022
1 parent f9fd6d8 commit 1da3156
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/lib/migration_helpers/plano_views.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,10 @@ def self.create_person_schedule_conflicts
and ps2.session_id != ps1.session_id
and ps2.start_time >= ps1.start_time
and (
ps2.start_time <= ps1.end_time
ps2.start_time < ps1.end_time
or
(
ps2.end_time >= ps1.start_time and ps2.end_time <= ps1.end_time
ps2.end_time > ps1.start_time and ps2.end_time <= ps1.end_time
)
);
SQL
Expand Down

0 comments on commit 1da3156

Please sign in to comment.