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
32a0ae8f
Commit
32a0ae8f
authored
Nov 21, 2017
by
Jarka Kadlecova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't user issuable_sort cookie for epics collection
parent
54dac8a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
changelogs/unreleased-ee/4114-epic-list-fix.yml
changelogs/unreleased-ee/4114-epic-list-fix.yml
+5
-0
ee/app/controllers/groups/epics_controller.rb
ee/app/controllers/groups/epics_controller.rb
+4
-0
No files found.
changelogs/unreleased-ee/4114-epic-list-fix.yml
0 → 100644
View file @
32a0ae8f
---
title
:
Don't user issuable_sort cookie for epics collection
merge_request
:
author
:
type
:
fixed
ee/app/controllers/groups/epics_controller.rb
View file @
32a0ae8f
...
@@ -77,6 +77,10 @@ class Groups::EpicsController < Groups::ApplicationController
...
@@ -77,6 +77,10 @@ class Groups::EpicsController < Groups::ApplicationController
@collection_type
||=
'Epic'
@collection_type
||=
'Epic'
end
end
# we don't support custom sorting for epics and therefore don't want to use the issuable_sort cookie
def
set_sort_order_from_cookie
end
def
preload_for_collection
def
preload_for_collection
@preload_for_collection
||=
[
:group
,
:author
]
@preload_for_collection
||=
[
:group
,
:author
]
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