Commit d5d9f1c5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

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
- @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
......
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