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
83d1b5c4
Commit
83d1b5c4
authored
Nov 22, 2018
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix default sort
parent
03b123ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ee/app/controllers/concerns/epics_actions.rb
ee/app/controllers/concerns/epics_actions.rb
+4
-0
ee/app/controllers/groups/epics_controller.rb
ee/app/controllers/groups/epics_controller.rb
+0
-4
No files found.
ee/app/controllers/concerns/epics_actions.rb
View file @
83d1b5c4
...
...
@@ -10,6 +10,10 @@ module EpicsActions
@collection_type
||=
'Epic'
end
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
...
...
ee/app/controllers/groups/epics_controller.rb
View file @
83d1b5c4
...
...
@@ -98,10 +98,6 @@ class Groups::EpicsController < Groups::ApplicationController
@preload_for_collection
||=
[
:group
,
:author
]
end
def
default_sort_order
sort_value_recently_created
end
def
authorize_create_epic!
return
render_404
unless
can?
(
current_user
,
:create_epic
,
group
)
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