consolidated detail page sections

This commit is contained in:
Luke Pulverenti 2013-05-15 23:39:15 -04:00
parent df9df5194f
commit f3d91af166

View File

@ -434,16 +434,16 @@ namespace MediaBrowser.Api
{
var diff = Math.Abs(item1.ProductionYear.Value - item2.ProductionYear.Value);
// Add a point if they came out within the same decade
// Add if they came out within the same decade
if (diff < 10)
{
points += 1;
points += 3;
}
// And another if within five years
// And more if within five years
if (diff < 5)
{
points += 1;
points += 3;
}
}