mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-25 19:09:00 +00:00
@@ -108,7 +108,7 @@ class HistoryRow extends Component {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (name === 'albumTitle') {
|
if (name === 'album.title') {
|
||||||
return (
|
return (
|
||||||
<TableRowCell key={name}>
|
<TableRowCell key={name}>
|
||||||
<AlbumTitleLink
|
<AlbumTitleLink
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ class QueueRow extends Component {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (name === 'albumTitle') {
|
if (name === 'album.title') {
|
||||||
return (
|
return (
|
||||||
<TableRowCell key={name}>
|
<TableRowCell key={name}>
|
||||||
<AlbumTitleLink
|
<AlbumTitleLink
|
||||||
|
|||||||
@@ -42,8 +42,9 @@ export const defaultState = {
|
|||||||
isVisible: true
|
isVisible: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'albumTitle',
|
name: 'album.title',
|
||||||
label: 'Album Title',
|
label: 'Album Title',
|
||||||
|
isSortable: true,
|
||||||
isVisible: true
|
isVisible: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -64,8 +64,9 @@ export const defaultState = {
|
|||||||
isVisible: true
|
isVisible: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'albumTitle',
|
name: 'album.title',
|
||||||
label: 'Album Title',
|
label: 'Album Title',
|
||||||
|
isSortable: true,
|
||||||
isVisible: true
|
isVisible: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -80,11 +80,11 @@ namespace Lidarr.Api.V1.Queue
|
|||||||
{
|
{
|
||||||
switch (pagingSpec.SortKey)
|
switch (pagingSpec.SortKey)
|
||||||
{
|
{
|
||||||
case "series.sortTitle":
|
case "artist.sortName":
|
||||||
return q => q.Artist.SortName;
|
return q => q.Artist.SortName;
|
||||||
case "episode":
|
case "album":
|
||||||
return q => q.Album;
|
return q => q.Album;
|
||||||
case "episode.title":
|
case "album.title":
|
||||||
return q => q.Album.Title;
|
return q => q.Album.Title;
|
||||||
case "quality":
|
case "quality":
|
||||||
return q => q.Quality;
|
return q => q.Quality;
|
||||||
@@ -95,9 +95,9 @@ namespace Lidarr.Api.V1.Queue
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private QueueResource MapToResource(NzbDrone.Core.Queue.Queue queueItem, bool includeSeries, bool includeEpisode)
|
private QueueResource MapToResource(NzbDrone.Core.Queue.Queue queueItem, bool includeArtist, bool includeAlbum)
|
||||||
{
|
{
|
||||||
return queueItem.ToResource(includeSeries, includeEpisode);
|
return queueItem.ToResource(includeArtist, includeAlbum);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Handle(QueueUpdatedEvent message)
|
public void Handle(QueueUpdatedEvent message)
|
||||||
|
|||||||
Reference in New Issue
Block a user