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
d4a24192
Commit
d4a24192
authored
Nov 26, 2018
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sorting for roadmaps
parent
256876ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
ee/app/controllers/concerns/epics_actions.rb
ee/app/controllers/concerns/epics_actions.rb
+9
-0
ee/app/controllers/groups/roadmap_controller.rb
ee/app/controllers/groups/roadmap_controller.rb
+1
-1
No files found.
ee/app/controllers/concerns/epics_actions.rb
View file @
d4a24192
...
...
@@ -13,4 +13,13 @@ module EpicsActions
def
default_sort_order
sort_value_recently_created
end
def
update_cookie_value
(
value
)
case
value
when
'start_date_asc'
then
sort_value_start_date
when
'end_date_asc'
then
sort_value_end_date
else
super
(
value
)
end
end
end
ee/app/controllers/groups/roadmap_controller.rb
View file @
d4a24192
...
...
@@ -7,7 +7,7 @@ module Groups
before_action
:check_epics_available!
before_action
:group
before_action
:persist_roadmap_layout
,
only:
[
:show
]
before_action
:set_epics_sorting
,
only: :
index
before_action
:set_epics_sorting
,
only: :
show
def
show
# show roadmap for a group
...
...
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