From 18f052359151ba427c99156ecee4dff922500ea8 Mon Sep 17 00:00:00 2001 From: John Washam Date: Tue, 5 Jul 2016 14:26:58 -0700 Subject: [PATCH] Made "all" card filter highlighted as default. --- flash_cards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flash_cards.py b/flash_cards.py index aa44ddc..84ab4ac 100644 --- a/flash_cards.py +++ b/flash_cards.py @@ -75,7 +75,7 @@ def cards(): ''' cur = db.execute(query) 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/')