You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by hu...@apache.org on 2015/10/12 12:00:09 UTC

svn commit: r1708071 - /steve/trunk/pysteve/www/cgi-bin/rest_admin.py

Author: humbedooh
Date: Mon Oct 12 10:00:09 2015
New Revision: 1708071

URL: http://svn.apache.org/viewvc?rev=1708071&view=rev
Log:
Ordering matters here. we want seconds to be parsed before candidate names

Modified:
    steve/trunk/pysteve/www/cgi-bin/rest_admin.py

Modified: steve/trunk/pysteve/www/cgi-bin/rest_admin.py
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/www/cgi-bin/rest_admin.py?rev=1708071&r1=1708070&r2=1708071&view=diff
==============================================================================
--- steve/trunk/pysteve/www/cgi-bin/rest_admin.py (original)
+++ steve/trunk/pysteve/www/cgi-bin/rest_admin.py Mon Oct 12 10:00:09 2015
@@ -230,7 +230,7 @@ else:
                         else:
                             try:
                                 issuedata = election.getIssue(electionID, issue)
-                                fields = ['title','description','type','statements','candidates','seconds','nominatedby', 'seconds_txt']
+                                fields = ['title','description','type','statements','seconds_txt','candidates','seconds','nominatedby']
                                 statements = []
                                 seconds = []
                                 for field in fields: