New: Release title column in queue

This commit is contained in:
Mark McDowall 2019-03-23 12:17:03 -07:00
parent 81d3f35034
commit b63cbbdaaa
3 changed files with 16 additions and 0 deletions

View File

@ -252,6 +252,14 @@ class QueueRow extends Component {
); );
} }
if (name === 'title') {
return (
<TableRowCell key={name}>
{title}
</TableRowCell>
);
}
if (name === 'estimatedCompletionTime') { if (name === 'estimatedCompletionTime') {
return ( return (
<TimeleftCell <TimeleftCell

View File

@ -115,6 +115,12 @@ export const defaultState = {
isSortable: true, isSortable: true,
isVisible: false isVisible: false
}, },
{
name: 'title',
label: 'Release Title',
isSortable: true,
isVisible: false
},
{ {
name: 'estimatedCompletionTime', name: 'estimatedCompletionTime',
label: 'Timeleft', label: 'Timeleft',

View File

@ -146,6 +146,8 @@ namespace Sonarr.Api.V3.Queue
return q => q.Status; return q => q.Status;
case "series.sortTitle": case "series.sortTitle":
return q => q.Series?.SortTitle; return q => q.Series?.SortTitle;
case "title":
return q => q.Title;
case "episode": case "episode":
return q => q.Episode; return q => q.Episode;
case "episode.airDateUtc": case "episode.airDateUtc":