Commit b8aa6e22 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by gracedb-dev1
Browse files

excluding Test events from operator signoff view on home page

parent 980328a1
......@@ -98,7 +98,8 @@ def index(request):
if signoff_authorized:
label_name = signoff_instrument + 'OPS'
events = Event.objects.filter(labelling__label__name=label_name)
events = Event.objects.filter(labelling__label__name=label_name) \
.exclude(group__name='Test')
context['signoff_graceids'] = [e.graceid() for e in events]
recent_events = ''
......
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