consolidated detail page sections

pull/702/head
Luke Pulverenti 12 years ago
parent df9df5194f
commit f3d91af166

@ -434,16 +434,16 @@ namespace MediaBrowser.Api
{ {
var diff = Math.Abs(item1.ProductionYear.Value - item2.ProductionYear.Value); 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) if (diff < 10)
{ {
points += 1; points += 3;
} }
// And another if within five years // And more if within five years
if (diff < 5) if (diff < 5)
{ {
points += 1; points += 3;
} }
} }

Loading…
Cancel
Save