Skip to content
Snippets Groups Projects
Commit d5d9f1c5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge pull request #2015 from elvanja/commits-group-and-sort-by-date-desc

fix: grouping commits by date desc doesn't sort the groups too
parents c2ba868c 333f7372
No related branches found
No related tags found
No related merge requests found
- @commits.group_by { |c| c.committed_date.to_date }.each do |day, commits|
- @commits.group_by { |c| c.committed_date.to_date }.sort.reverse.each do |day, commits|
%div.ui-box
%h5.title
%i.icon-calendar
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment