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
280a12cf
Commit
280a12cf
authored
Dec 13, 2018
by
Heinrich Lee Yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix epics state filter path in group roadmap page
Includes `label_name` param
parent
47592691
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
ee/app/helpers/epics_helper.rb
ee/app/helpers/epics_helper.rb
+1
-1
ee/spec/features/groups/group_roadmap_spec.rb
ee/spec/features/groups/group_roadmap_spec.rb
+10
-0
No files found.
ee/app/helpers/epics_helper.rb
View file @
280a12cf
...
...
@@ -79,7 +79,7 @@ module EpicsHelper
end
def
epic_state_dropdown_link
(
state
,
selected_state
)
link_to
epic_state_title
(
state
),
page_filter_path
(
state:
state
),
class:
state
==
selected_state
?
'is-active'
:
''
link_to
epic_state_title
(
state
),
page_filter_path
(
state:
state
,
label:
true
),
class:
state
==
selected_state
?
'is-active'
:
''
end
def
epic_state_title
(
state
)
...
...
ee/spec/features/groups/group_roadmap_spec.rb
View file @
280a12cf
...
...
@@ -126,6 +126,16 @@ describe 'group epic roadmap', :js do
expect
(
page
).
to
have_content
(
epic_with_bug
.
title
)
end
end
it
'keeps label filter when filtering by state'
do
state_dropdown
.
find
(
'.dropdown-toggle'
).
click
state_dropdown
.
find
(
'a'
,
text:
'Open epics'
).
click
page
.
within
(
'.roadmap-container .epics-list-section'
)
do
expect
(
page
).
to
have_selector
(
'.epics-list-item .epic-title'
,
count:
1
)
expect
(
page
).
to
have_content
(
epic_with_bug
.
title
)
end
end
end
end
...
...
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