[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: JResultClient version 1: Displays write-in in the middle of the candidates.



The logic of display order is modified to the following:
 
Sort by ID
Treat write-in as normal candidate, and sort all candidates by their sort sequences.  The sort sequences of all candidates can be set in GEMS.
 
Sort by Rank
If there is no vote at all, it would be same as Sort by ID.  That's why we need sort sequence.
Otherwise it is sort by number of votes.  All candidates within the same rank are then sort by their sort sequences.
 
Sort by Name
Sort by the candidate names, and the write-in is always left at bottom, if any.
 
This will be the behavior for the next release.
 
Whitman
----- Original Message -----
From: Sophia Lee
Sent: Wednesday, February 27, 2002 9:53
Subject: JResultClient version 1: Displays write-in in the middle of the candidates.

JResultClient version 1
 
Problem:  If the candidates do not have any votes and the race has more than one candidates, the write-in is displayed not at the beginning nor at the end but in the middle of the candidates.  If there are only one candidate in the race, the write-in is displayed as the first candidate.
 
Conditions:  (1) a race with more than one candidates
                    (2) no votes for any of the candidates
                    (3) JResultClient: sort by rank 
          
For example,   consider the following:
    Governor - DEM
     Vote for One
 
    Gray Davis
    Write-in
    Charles Pineda, Jr
    Harry Thomas
 
Request: On zero votes, position write-in consistently - whether it be at the top or bottom.