Commit d5d9f1c5155fc5c5f8115cb54574a7a7e5349781

Authored by Dmitriy Zaporozhets
2 parents c2ba868c 333f7372

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
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/commits/_commits.html.haml
1 -- @commits.group_by { |c| c.committed_date.to_date }.each do |day, commits| 1 +- @commits.group_by { |c| c.committed_date.to_date }.sort.reverse.each do |day, commits|
2 %div.ui-box 2 %div.ui-box
3 %h5.title 3 %h5.title
4 %i.icon-calendar 4 %i.icon-calendar