Skip to content

Commit

Permalink
Merge pull request #607 from ChicagoWorldcon/stag-adjust-pub-diffs
Browse files Browse the repository at this point in the history
adjust pub diffs so add and drops do not also create info about title… 2.0
  • Loading branch information
Gailbear authored Aug 12, 2022
2 parents 1314935 + c952fe8 commit 7bd09fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/reports/schedule_reports_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ def schedule_diff
((!change[:changes]['room_id'][0] && change[:changes]['room_id'][1]) ||
(!change[:changes]['start_time'][0] && change[:changes]['start_time'][1]))
session_added_row(session_added, change, date_time_style)
next
else
if (change[:changes]['room_id'] && !change[:changes]['room_id'][1]) || (change[:changes]['start_time'] && !change[:changes]['start_time'][1])|| change[:event] == 'destroy'
session_removed_row(session_removed, change)
next
else
if change[:changes]['room_id']
session_room_change_row(session_room_changed, change)
Expand Down

0 comments on commit 7bd09fc

Please sign in to comment.