Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GraceDB Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael William Coughlin
GraceDB Server
Commits
d07844fc
Commit
d07844fc
authored
6 years ago
by
Tanner Prestegard
Committed by
GraceDB
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Adding TODO to superevent API filter
parent
42b704be
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gracedb/superevents/api/filters.py
+7
-1
7 additions, 1 deletion
gracedb/superevents/api/filters.py
with
7 additions
and
1 deletion
gracedb/superevents/api/filters.py
+
7
−
1
View file @
d07844fc
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment