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
This commit is contained in:
commit
d5d9f1c515
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
- @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…
Reference in a new issue