aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Sorting/AlbumArtistComparer.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-23 12:05:19 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-23 12:05:19 -0400
commit0727475abfff42e32626d2def071a189168e7da1 (patch)
treee2a486f33beb0bd49b293234f1b7b2c2c0223415 /MediaBrowser.Server.Implementations/Sorting/AlbumArtistComparer.cs
parenteba1845f2a16dfbabdd009b0dc771183c9ffba76 (diff)
update translations
Diffstat (limited to 'MediaBrowser.Server.Implementations/Sorting/AlbumArtistComparer.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Sorting/AlbumArtistComparer.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/Sorting/AlbumArtistComparer.cs b/MediaBrowser.Server.Implementations/Sorting/AlbumArtistComparer.cs
index df8003dec..3c79b0c32 100644
--- a/MediaBrowser.Server.Implementations/Sorting/AlbumArtistComparer.cs
+++ b/MediaBrowser.Server.Implementations/Sorting/AlbumArtistComparer.cs
@@ -1,4 +1,5 @@
-using MediaBrowser.Controller.Entities;
+using System.Linq;
+using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Entities.Audio;
using MediaBrowser.Controller.Sorting;
using MediaBrowser.Model.Querying;
@@ -31,7 +32,7 @@ namespace MediaBrowser.Server.Implementations.Sorting
{
var audio = x as IHasAlbumArtist;
- return audio != null ? audio.AlbumArtist : null;
+ return audio != null ? audio.AlbumArtists.FirstOrDefault() : null;
}
/// <summary>