Fixed: Sorting of Quality column in Interactive Search

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
pull/908/head
Qstick 5 years ago
parent 8440675ad9
commit c8184c362a

@ -30,8 +30,7 @@ namespace Lidarr.Api.V1.Indexers
{
release.QualityWeight = decision.RemoteAlbum
.Artist
.QualityProfile.Value
.Items.FindIndex(v => v.Quality == release.Quality.Quality) * 100;
.QualityProfile.Value.GetIndex(release.Quality.Quality).Index * 100;
}
release.QualityWeight += release.Quality.Revision.Real * 10;

Loading…
Cancel
Save