This is an automated email from the ASF dual-hosted git repository.
gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git
The following commit(s) were added to refs/heads/trunk by this push:
new 1b73cec ensure/clarify votes are processed in insertion-order
1b73cec is described below
commit 1b73cec894323885c8564906e8ffd28d61f0cf48
Author: Greg Stein <[email protected]>
AuthorDate: Mon May 30 20:26:41 2022 -0500
ensure/clarify votes are processed in insertion-order
---
v3/steve/election.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/v3/steve/election.py b/v3/steve/election.py
index accfed5..d8f941b 100644
--- a/v3/steve/election.py
+++ b/v3/steve/election.py
@@ -74,7 +74,7 @@ class Election:
self.q_get_record = self.db.add_query('record',
'SELECT * FROM RECORD WHERE rid = ?')
self.q_by_issue = self.db.add_query('votes',
- 'SELECT * FROM VOTES WHERE issue_token = ?')
+ 'SELECT * FROM VOTES WHERE issue_token = ? ORDER BY _ROWID_')
def open(self):