mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-27 22:57:09 -04:00
Fixed: Quality Profile group order no longer used when ordering results
This commit is contained in:
@@ -31,8 +31,8 @@ namespace NzbDrone.Core.Qualities
|
||||
|
||||
public int Compare(Quality left, Quality right, bool respectGroupOrder)
|
||||
{
|
||||
var leftIndex = _profile.GetIndex(left);
|
||||
var rightIndex = _profile.GetIndex(right);
|
||||
var leftIndex = _profile.GetIndex(left, respectGroupOrder);
|
||||
var rightIndex = _profile.GetIndex(right, respectGroupOrder);
|
||||
|
||||
return leftIndex.CompareTo(rightIndex, respectGroupOrder);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user