mirror of
https://github.com/Radarr/Radarr
synced 2025-01-01 12:54:21 +00:00
parent
d4422e8901
commit
5d2ac0b86b
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ public int Compare(List<CustomFormat> left, int right)
|
|||
left = left.WithNone();
|
||||
|
||||
var leftIndicies = GetIndicies(left, _profile);
|
||||
var rightIndex = _profile.FormatItems.FindIndex(v => Equals(v.Format, right));
|
||||
var rightIndex = _profile.FormatItems.FindIndex(v => Equals(v.Format.Id, right));
|
||||
|
||||
return leftIndicies.Select(i => i.CompareTo(rightIndex)).Sum();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue