diff options
| author | Zach DeCook <zachdecook@gmail.com> | 2018-03-20 12:08:43 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@gmail.com> | 2018-03-20 12:08:43 -0400 |
| commit | b01ad1d9123ab8f497ce78fcab0c5caebc0cc993 (patch) | |
| tree | 2f3e81f50a665b8316eb774b7deba4ba023954e5 /index.php | |
| parent | f3c77eac34d58d3e3c3173419a9b2c82d2141740 (diff) | |
| download | prosongsa-b01ad1d9123ab8f497ce78fcab0c5caebc0cc993.tar.gz | |
* Allow sorting by bible book and by key
Diffstat (limited to 'index.php')
| -rwxr-xr-x | index.php | 4 |
1 files changed, 3 insertions, 1 deletions
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 { |
