Skip to content
GitLab
Explore
Sign in
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
30cabf5e
Commit
30cabf5e
authored
3 years ago
by
Muthukrishnanmatriot
Browse files
Options
Downloads
Patches
Plain Diff
TMSS-960
- Updated the filter for boolean to hold external filter value
parent
c5157f6c
No related branches found
Branches containing commit
No related tags found
2 merge requests
!634
WIP: COBALT commissioning delta
,
!553
Resolve TMSS-960
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SAS/TMSS/frontend/tmss_webapp/src/routes/Reservation/reservation.list.js
+8
-5
8 additions, 5 deletions
...nd/tmss_webapp/src/routes/Reservation/reservation.list.js
with
8 additions
and
5 deletions
SAS/TMSS/frontend/tmss_webapp/src/routes/Reservation/reservation.list.js
+
8
−
5
View file @
30cabf5e
...
...
@@ -138,7 +138,7 @@ export class ReservationList extends Component{
this
.
cycleList
=
[];
this
.
selectedRows
=
[];
this
.
totalPage
=
0
;
this
.
pageUpdated
=
fals
e
;
this
.
pageUpdated
=
tru
e
;
this
.
onRowSelection
=
this
.
onRowSelection
.
bind
(
this
);
this
.
confirmDeleteReservations
=
this
.
confirmDeleteReservations
.
bind
(
this
);
this
.
deleteReservations
=
this
.
deleteReservations
.
bind
(
this
);
...
...
@@ -191,10 +191,13 @@ export class ReservationList extends Component{
this
.
setState
({
fEndTime
:
''
,
cycle
:
''
});
}
}
let
filter
=
_
.
find
(
filters
,
function
(
filter
){
return
(
filter
.
id
===
'
Start Time
'
&&
filter
.
value
.
length
>
0
)
&&
(
filter
.
id
===
'
End Time
'
&&
filter
.
value
.
length
>
0
)
let
filterStartTime
=
_
.
find
(
filters
,
function
(
filter
){
return
(
filter
.
id
===
'
Start Time
'
&&
filter
.
value
.
length
>
0
);
});
let
filterEndTime
=
_
.
find
(
filters
,
function
(
filter
){
return
(
filter
.
id
===
'
End Time
'
&&
filter
.
value
.
length
>
0
)
});
if
(
!
filter
)
{
if
(
!
filter
StartTime
&&
!
filterEndTime
)
{
this
.
setState
({
cycle
:
''
});
}
}
...
...
@@ -704,7 +707,7 @@ export class ReservationList extends Component{
filter
=
{
true
}
showClear
=
{
true
}
showFilterClear
=
{
true
}
tooltip
=
"
Select
C
ycle to
search appropriate reservation, based on Cycle's Start & Stop time it will find reserv
ation
"
tooltip
=
"
Select
c
ycle to
view reservations that start and end in the cycle (will not include those are reserved for unknown dur
ation
)
"
/>
<
label
htmlFor
=
"
cycle
"
>
Filter
by
Cycle
<
/label
>
<
/span
>
...
...
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