Commit d4a24192 authored by Felipe Artur's avatar Felipe Artur

Fix sorting for roadmaps

parent 256876ca
......@@ -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
......@@ -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
......
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