diff --git a/frontend/src/Activity/Queue/QueueRow.js b/frontend/src/Activity/Queue/QueueRow.js index 3dac22f33..d7d116333 100644 --- a/frontend/src/Activity/Queue/QueueRow.js +++ b/frontend/src/Activity/Queue/QueueRow.js @@ -5,6 +5,7 @@ import IconButton from 'Components/Link/IconButton'; import SpinnerIconButton from 'Components/Link/SpinnerIconButton'; import ProgressBar from 'Components/ProgressBar'; import TableRow from 'Components/Table/TableRow'; +import RelativeDateCellConnector from 'Components/Table/Cells/RelativeDateCellConnector'; import TableRowCell from 'Components/Table/Cells/TableRowCell'; import TableSelectCell from 'Components/Table/Cells/TableSelectCell'; import ProtocolLabel from 'Activity/Queue/ProtocolLabel'; @@ -164,6 +165,15 @@ class QueueRow extends Component { ); } + if (name === 'album.releaseDate') { + return ( + + ); + } + if (name === 'quality') { return ( diff --git a/frontend/src/Store/Actions/queueActions.js b/frontend/src/Store/Actions/queueActions.js index d13c6ed57..32a2aed02 100644 --- a/frontend/src/Store/Actions/queueActions.js +++ b/frontend/src/Store/Actions/queueActions.js @@ -69,6 +69,12 @@ export const defaultState = { isSortable: true, isVisible: true }, + { + name: 'album.releaseDate', + label: 'Album Release Date', + isSortable: true, + isVisible: false + }, { name: 'quality', label: 'Quality', diff --git a/src/Lidarr.Api.V1/Queue/QueueModule.cs b/src/Lidarr.Api.V1/Queue/QueueModule.cs index 0b989dc6b..ba352620d 100644 --- a/src/Lidarr.Api.V1/Queue/QueueModule.cs +++ b/src/Lidarr.Api.V1/Queue/QueueModule.cs @@ -104,6 +104,8 @@ namespace Lidarr.Api.V1.Queue return q => q.Album; case "album.title": return q => q.Album.Title; + case "album.releaseDate": + return q => q.Album.ReleaseDate; case "quality": return q => q.Quality; case "progress":