Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
af9b2096
Commit
af9b2096
authored
Apr 13, 2021
by
Tristan Read
Committed by
Kushal Pandya
Apr 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce query timespan to one day in schedule daily view
parent
f95046ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
ee/app/assets/javascripts/oncall_schedules/components/oncall_schedule.vue
...vascripts/oncall_schedules/components/oncall_schedule.vue
+4
-1
ee/changelogs/unreleased/tr-oncall-schedule-reduce-daily-query.yml
...logs/unreleased/tr-oncall-schedule-reduce-daily-query.yml
+5
-0
No files found.
ee/app/assets/javascripts/oncall_schedules/components/oncall_schedule.vue
View file @
af9b2096
...
...
@@ -69,7 +69,10 @@ export default {
variables
()
{
this
.
timeframeStartDate
.
setHours
(
0
,
0
,
0
,
0
);
const
startsAt
=
this
.
timeframeStartDate
;
const
endsAt
=
nWeeksAfter
(
startsAt
,
2
);
const
endsAt
=
this
.
presetType
===
this
.
$options
.
PRESET_TYPES
.
WEEKS
?
nWeeksAfter
(
startsAt
,
2
)
:
nDaysAfter
(
startsAt
,
1
);
return
{
projectPath
:
this
.
projectPath
,
...
...
ee/changelogs/unreleased/tr-oncall-schedule-reduce-daily-query.yml
0 → 100644
View file @
af9b2096
---
title
:
Reduce query timespan to one day in schedule daily view
merge_request
:
58974
author
:
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment