Commit 32a0ae8f authored by Jarka Kadlecova's avatar Jarka Kadlecova

Don't user issuable_sort cookie for epics collection

parent 54dac8a0
---
title: Don't user issuable_sort cookie for epics collection
merge_request:
author:
type: fixed
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment