Commit 5f8a990f authored by Mathis Dedial's avatar Mathis Dedial
Browse files

Merge branch 'ordering' into 'master'

Fix issue #9

Closes #9

See merge request !1
parents c855bff2 990f0c14
Pipeline #2702 passed with stage
in 24 seconds
......@@ -22,7 +22,7 @@ def index():
'LEFT JOIN vote AS vote_1 ON '
'LEFT JOIN vote AS vote_2 ON AND vote_2.nethz= :nethz '
'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',
Supports Markdown
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