Sort packages in snapshot diff

This commit is contained in:
Konstantin Zudov 2015-10-11 14:41:41 +03:00
parent fb481b02f7
commit 240b0316bb

View File

@ -33,7 +33,7 @@
$else
<option value=@{StackageDiffR name1 name2'}>#{toPathPiece name2'}
<tbody>
$forall (name, VersionChange verChange) <- HashMap.toList snapDiff
$forall (name, VersionChange verChange) <- sortOn (toCaseFold . fst) $ HashMap.toList snapDiff
<tr>
$case verChange
$of This oldVersion