To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 990f0c14 authored by Mathis Dedial's avatar Mathis Dedial
Browse files

Fix issue #9

parent c855bff2
Pipeline #2701 skipped with stage
......@@ -22,7 +22,7 @@ def index():
'LEFT JOIN vote AS vote_1 ON vote_1.burger_id=burger.id '
'LEFT JOIN vote AS vote_2 ON vote_2.burger_id=burger.id AND vote_2.nethz= :nethz '
'GROUP BY burger.id '
'ORDER BY vote_count DESC')
'ORDER BY vote_count DESC, timestamp')
burger_list = db.engine.execute(querystring, nethz=g.user).fetchall()
return render_template('vote.html',
burger_list=burger_list,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment