Commit 3ac1f180 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB

events: bugfix event neighbors lookup

parent 8612bd76
......@@ -273,7 +273,7 @@ class Event(models.Model):
def neighbors(self, neighborhood=None):
if not self.gpstime:
return []
return Event.objects.none()
if self.group.name == 'Test':
nearby = Event.objects.filter(group__name='Test')
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment