diff --git a/static/js/library_filter.js b/static/js/library_filter.js index 3def689..78af890 100644 --- a/static/js/library_filter.js +++ b/static/js/library_filter.js @@ -1,7 +1,7 @@ function setLibrary(library_id) { if (library_id == "-1") { - } else { window.location.href = "/stats"; + } else { + window.location.href = "/stats/" + library_id; } - window.location.href = "/stats/" + library_id; } diff --git a/tmpl/stats.tmpl b/tmpl/stats.tmpl index 7e4f56f..94134ad 100644 --- a/tmpl/stats.tmpl +++ b/tmpl/stats.tmpl @@ -1,4 +1,5 @@ {{template "head"}} +

Stats