diff --git a/CHANGES.md b/CHANGES.md index 71af2bad..64721e77 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,7 @@ * Fix poster preview on small poster layout * Change overhaul Config Anime to be in line with General Configuration * Remove output of source code line when warnings highlight libraries not used with IMDb +* Add dropdown on Add Trending Shows to display all shows, shows not in library, or shows in library ### 0.3.0 (2014-11-12 14:30:00 UTC) diff --git a/gui/slick/interfaces/default/home_trendingShows.tmpl b/gui/slick/interfaces/default/home_trendingShows.tmpl index 011f170f..5c4c6ef8 100644 --- a/gui/slick/interfaces/default/home_trendingShows.tmpl +++ b/gui/slick/interfaces/default/home_trendingShows.tmpl @@ -23,6 +23,7 @@ // initialise combos for dirty page refreshes \$('#showsort').val('original'); \$('#showsortdirection').val('asc'); + \$('#showfilter').val('*'); var \$container = [\$('#container')]; jQuery.each(\$container, function (j) { @@ -73,6 +74,11 @@ \$('#showsortdirection').on( 'change', function() { \$('#container').isotope({sortAscending: ('asc' == this.value)}); }); + + \$('#showfilter').on( 'change', function() { + var filterValue = this.value; + \$('#container').isotope({ filter: filterValue }); + }); }); //--> @@ -86,7 +92,16 @@ #if $trending_shows
- Sort By: + Show: + + + Sort By: