gdoteof/election — Issue #9: Percentage Shown for Partial Results
Author: bradley-holt
Created: 2012-02-10 21:07:14+00:00
State: open

### Description

Please do not show percentage or indication of the winner for "Partial Results". Since these are "Partial Results", the percentage and indication of winners will be misleading to users.

### Steps to Reproduce

curl 'https://example.org/town-meeting-season-2011/ward-1/burlington-mayor' \
-H 'Accept: application/json'

### Actual Results

```json
{
"title":"Burlington Mayor",
…
"results":{
"Miro Weinberger":{
"votes":"121",
"percent":23.8,
"winner":false,
"complete":false
},
"Bob Kiss":{
"votes":"232",
"percent":45.6,
"winner":false,
"complete":false
},
"Kurt Wright":{
"votes":"156",
"percent":30.6,
"winner":false,
"complete":false
}
}
}
```

### Expected Results

```json
{
"title":"Burlington Mayor",
…
"results":{
"Miro Weinberger":{
"votes":"121",
"complete":false
},
"Bob Kiss":{
"votes":"232",
"complete":false
},
"Kurt Wright":{
"votes":"156",
"complete":false
}
}
}
```

### Additional Comments

The `percent` column should also be removed in the HTML version (as well as the `winner` class, although that may be working correctly already).