Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review 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
RadioObservatory
LOFAR
Commits
d85b37b7
Commit
d85b37b7
authored
1 year ago
by
Jorrit Schaap
Browse files
Options
Downloads
Patches
Plain Diff
TMSS-2950
: projects filter
parent
1d1a047b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1334
Resolve TMSS-2950
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SAS/TMSS/backend/src/tmss/tmssapp/viewsets/specification.py
+1
-1
1 addition, 1 deletion
SAS/TMSS/backend/src/tmss/tmssapp/viewsets/specification.py
with
1 addition
and
1 deletion
SAS/TMSS/backend/src/tmss/tmssapp/viewsets/specification.py
+
1
−
1
View file @
d85b37b7
...
...
@@ -309,7 +309,7 @@ class ReservationPropertyFilter(property_filters.PropertyFilterSet):
id
=
NumberInFilter
(
field_name
=
'
id
'
,
lookup_expr
=
'
in
'
)
id_min
=
filters
.
NumberFilter
(
field_name
=
'
id
'
,
lookup_expr
=
'
gte
'
)
id_max
=
filters
.
NumberFilter
(
field_name
=
'
id
'
,
lookup_expr
=
'
lte
'
)
project
=
filters
.
Char
Filter
(
field_name
=
'
project
__name
'
,
lookup_expr
=
'
icontains
'
)
project
s
=
filters
.
ModelMultipleChoice
Filter
(
field_name
=
'
project
s
'
,
queryset
=
models
.
Project
.
objects
.
all
()
)
start_time
=
filters
.
IsoDateTimeFromToRangeFilter
(
field_name
=
'
start_time
'
)
stop_time
=
filters
.
IsoDateTimeFromToRangeFilter
(
field_name
=
'
stop_time
'
)
stop_time_isnull
=
filters
.
BooleanFilter
(
field_name
=
'
stop_time
'
,
lookup_expr
=
'
isnull
'
)
...
...
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