mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08:29 +01:00
Sort packages in snapshot diff
This commit is contained in:
parent
fb481b02f7
commit
240b0316bb
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user