From b01ad1d9123ab8f497ce78fcab0c5caebc0cc993 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Tue, 20 Mar 2018 12:08:43 -0400 Subject: * Allow sorting by bible book and by key --- index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index bc25f51..9520ed3 100755 --- a/index.php +++ b/index.php @@ -85,7 +85,9 @@ include 'page.php'; $song_number = isset( $_GET['song'] ) ? $_GET['song'] : ''; if( ! $song_number ) { - echo toc(); + $sort = ''; + if ( isset( $_GET['sort'] ) ) $sort = $_GET['sort']; + echo toc($sort); } else { -- cgit 1.4.1