Merge kyledrake changes

This commit is contained in:
Victoria Wang 2014-10-29 17:35:25 -07:00
commit cd78c91abb

View file

@ -246,7 +246,7 @@ class Site < Sequel::Model
end end
def unseen_notifications_dataset def unseen_notifications_dataset
events_dataset.where notification_seen: false events_dataset.where(notification_seen: false).exclude(actioning_site_id: self.id)
end end
def unseen_notifications_count def unseen_notifications_count