Made "all" card filter highlighted as default.

This commit is contained in:
John Washam
2016-07-05 14:26:58 -07:00
parent 79114725b4
commit 18f0523591

View File

@@ -75,7 +75,7 @@ def cards():
''' '''
cur = db.execute(query) cur = db.execute(query)
cards = cur.fetchall() cards = cur.fetchall()
return render_template('cards.html', cards=cards, filter_name=None) return render_template('cards.html', cards=cards, filter_name="all")
@app.route('/filter_cards/<filter_name>') @app.route('/filter_cards/<filter_name>')