Merge pull request #126 from adam111316/feature/FixPosterProgressSort

Fix progress sort direction for poster layout view on home page
This commit is contained in:
JackDandy 2014-11-09 03:59:41 +00:00
commit 288d488d09
2 changed files with 2 additions and 1 deletions

View File

@ -64,6 +64,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)

View File

@ -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;
}
}
});