whoops, results were accidentally reversed
This commit is contained in:
parent
5c7bb9e2a3
commit
1a61d4aa3c
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ results pollId = do
|
||||||
Nothing -> fullPage "poll doesn't have any votes"
|
Nothing -> fullPage "poll doesn't have any votes"
|
||||||
Just votesList -> do
|
Just votesList -> do
|
||||||
let voteless = notVotedFor poll
|
let voteless = notVotedFor poll
|
||||||
let results' = (reverse . IR.solve $ votesList) ++ noVotesAsBallot voteless
|
let results' = (IR.solve $ votesList) ++ noVotesAsBallot voteless
|
||||||
fullPage $ do
|
fullPage $ do
|
||||||
h2_ "results"
|
h2_ "results"
|
||||||
toHtml $ T.append (T.pack . show . length . P.votes $ poll) " ballots submitted"
|
toHtml $ T.append (T.pack . show . length . P.votes $ poll) " ballots submitted"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue