From 9cfad22870cea5209fb4067f4026a78833ec1ae6 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 9 Nov 2014 11:49:19 +0800 Subject: [PATCH] Fix progress sort direction for poster layout view on home page --- CHANGES.md | 3 ++- gui/slick/interfaces/default/home.tmpl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 484e45a9..1b756ef2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,4 @@ -### 0.x.x (2014-11-07 xx:xx:xx UTC) +### 0.x.x (2014-11-09 xx:xx:xx UTC) * Add Bootstrap for UI features * Change UI to resize fluidly on different display sizes, fixes the issue where top menu items would disappear on smaller screens @@ -63,6 +63,7 @@ * Remove commented out html from display show accidently left in during UI changes * Fix display issue of season tables in displayShow view / Display Specials * Change to suppress reporting of Tornado exception error 1 +* Fix progress sort direction for poster layout view on home page ### 0.2.1 (2014-10-22 06:41:00 UTC) diff --git a/gui/slick/interfaces/default/home.tmpl b/gui/slick/interfaces/default/home.tmpl index 42136543..33dd6c73 100644 --- a/gui/slick/interfaces/default/home.tmpl +++ b/gui/slick/interfaces/default/home.tmpl @@ -174,7 +174,7 @@ }, progress: function( itemElem ) { var progress = \$( itemElem ).attr('data-progress'); - return progress.length && parseInt( progress, 10 ) * -1 || Number.POSITIVE_INFINITY; + return progress.length && parseInt( progress, 10 ) || Number.NEGATIVE_INFINITY; } } });