New: Sort queue by status
This commit is contained in:
parent
69627911b3
commit
813e5e1db8
|
@ -58,6 +58,7 @@ export const defaultState = {
|
|||
{
|
||||
name: 'status',
|
||||
columnLabel: 'Status',
|
||||
isSortable: true,
|
||||
isVisible: true,
|
||||
isModifiable: false
|
||||
},
|
||||
|
|
|
@ -142,6 +142,8 @@ namespace Sonarr.Api.V3.Queue
|
|||
{
|
||||
switch (pagingSpec.SortKey)
|
||||
{
|
||||
case "status":
|
||||
return q => q.Status;
|
||||
case "series.sortTitle":
|
||||
return q => q.Series?.SortTitle;
|
||||
case "episode":
|
||||
|
|
Loading…
Reference in New Issue