Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove occurrence of obsolete Room column
  • Loading branch information
mic4ael committed Apr 25, 2019
1 parent 7c628ca commit 566d3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indico/modules/rb_new/controllers/backend/bookings.py
Expand Up @@ -69,7 +69,7 @@ def _process_args(self):
'admin_override_enabled': fields.Bool(missing=False)
})
def _process(self, room_ids, **kwargs):
rooms = [self.room] if self.room else Room.query.filter(Room.id.in_(room_ids), Room.is_active).all()
rooms = [self.room] if self.room else Room.query.filter(Room.id.in_(room_ids), ~Room.is_deleted).all()
date_range, availability = get_rooms_availability(rooms, **kwargs)
date_range = [dt.isoformat() for dt in date_range]

Expand Down

0 comments on commit 566d3d6

Please sign in to comment.