From 9696eb5ca2d1dc00fd854a42774c8329ff48ceef Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 17 Apr 2021 22:12:45 -0400 Subject: [PATCH] Fixed: Queue broken when sorting by Album ReleaseDate --- frontend/src/Activity/Queue/QueueRow.js | 2 +- frontend/src/Store/Actions/queueActions.js | 2 +- src/Lidarr.Api.V1/Queue/QueueModule.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/Activity/Queue/QueueRow.js b/frontend/src/Activity/Queue/QueueRow.js index 09752c4e7..07adfd83d 100644 --- a/frontend/src/Activity/Queue/QueueRow.js +++ b/frontend/src/Activity/Queue/QueueRow.js @@ -181,7 +181,7 @@ class QueueRow extends Component { ); } - if (name === 'album.releaseDate') { + if (name === 'albums.releaseDate') { if (album) { return ( q.Album; case "albums.title": return q => q.Album?.Title ?? string.Empty; - case "album.releaseDate": + case "albums.releaseDate": return q => q.Album?.ReleaseDate ?? DateTime.MinValue; case "quality": return q => q.Quality;