Skip to content
Snippets Groups Projects
Commit 3ac1f180 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

events: bugfix event neighbors lookup

parent 8612bd76
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment