mirror of https://github.com/lidarr/Lidarr
Fixed: Sorting of Quality column in Interactive Search
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
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…
Reference in New Issue