From 1d9c163f5ff0207442ff008d8799a5bc602c3d39 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 6 Sep 2013 15:17:15 -0400 Subject: fixes #506 - Song list - make columns headers clickable for sorting --- .../Dto/DtoService.cs | 10 +++++-- .../MediaBrowser.Server.Implementations.csproj | 1 + .../Sorting/AlbumArtistComparer.cs | 26 ++--------------- .../Sorting/NameComparer.cs | 33 ++++++++++++++++++++++ 4 files changed, 44 insertions(+), 26 deletions(-) create mode 100644 MediaBrowser.Server.Implementations/Sorting/NameComparer.cs (limited to 'MediaBrowser.Server.Implementations') diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs index 4ad2479e61..46dfd0ba37 100644 --- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs +++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs @@ -892,7 +892,6 @@ namespace MediaBrowser.Server.Implementations.Dto if (audio != null) { dto.Album = audio.Album; - dto.AlbumArtist = audio.AlbumArtist; dto.Artists = audio.Artists.ToArray(); var albumParent = audio.FindParent(); @@ -916,14 +915,19 @@ namespace MediaBrowser.Server.Implementations.Dto { var songs = album.RecursiveChildren.OfType