|
|
@ -119,15 +119,15 @@ namespace Readarr.Api.V1.Queue
|
|
|
|
case "status":
|
|
|
|
case "status":
|
|
|
|
return q => q.Status;
|
|
|
|
return q => q.Status;
|
|
|
|
case "authors.sortName":
|
|
|
|
case "authors.sortName":
|
|
|
|
return q => q.Author?.SortName;
|
|
|
|
return q => q.Author?.SortName ?? string.Empty;
|
|
|
|
case "title":
|
|
|
|
case "title":
|
|
|
|
return q => q.Title;
|
|
|
|
return q => q.Title;
|
|
|
|
case "book":
|
|
|
|
case "book":
|
|
|
|
return q => q.Book;
|
|
|
|
return q => q.Book;
|
|
|
|
case "book.title":
|
|
|
|
case "book.title":
|
|
|
|
return q => q.Book?.Title;
|
|
|
|
return q => q.Book?.Title ?? string.Empty;
|
|
|
|
case "book.releaseDate":
|
|
|
|
case "book.releaseDate":
|
|
|
|
return q => q.Book?.ReleaseDate;
|
|
|
|
return q => q.Book?.ReleaseDate ?? DateTime.MinValue;
|
|
|
|
case "quality":
|
|
|
|
case "quality":
|
|
|
|
return q => q.Quality;
|
|
|
|
return q => q.Quality;
|
|
|
|
case "progress":
|
|
|
|
case "progress":
|
|
|
|