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

Adding TODO to superevent API filter

parent 42b704be
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,13 @@ class SupereventSearchFilter(filters.SearchFilter):
def filter_queryset(self, request, queryset, view):
query = self.get_search_terms(request)
# TODO: do we want to do this?
# If no query, we still set a blank query and pass things through to
# query parser so as to perform the default filtering out of Test and
# MDC superevents
#if not query:
# query = ''
if not query:
return queryset
......
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