1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-25 09:18:34 +00:00

New: Sort queue by status

This commit is contained in:
Mark McDowall 2019-02-07 18:48:51 -08:00
parent 69627911b3
commit 813e5e1db8
2 changed files with 3 additions and 0 deletions

View file

@ -58,6 +58,7 @@ export const defaultState = {
{
name: 'status',
columnLabel: 'Status',
isSortable: true,
isVisible: true,
isModifiable: false
},

View file

@ -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":