Tachiyomi Enhancements (#845)
* Added a new endpoint to get all Series with Progress info. * Fixed up some potential NPEs during scan * Commented out filter code, not ready for it. * Fixed up a parsing case for european comics * Refactored FilterDto to allow for specifying multiple formats to return. * Refactored FilterDto to allow for specifying multiple formats to return. * Refactored the UI to show OPDS as 3rd Party Clients since Tachiyomi now uses OPDS url scheme for authentication.
This commit is contained in:
parent
658ca290e1
commit
384ebcef5c
20 changed files with 120 additions and 99 deletions
|
@ -11,15 +11,12 @@ namespace API.Extensions
|
|||
|
||||
public static IList<MangaFormat> GetSqlFilter(this FilterDto filter)
|
||||
{
|
||||
var format = filter.MangaFormat;
|
||||
if (format != null)
|
||||
if (filter.Formats == null || filter.Formats.Count == 0)
|
||||
{
|
||||
return new List<MangaFormat>()
|
||||
{
|
||||
(MangaFormat) format
|
||||
};
|
||||
return AllFormats;
|
||||
}
|
||||
return AllFormats;
|
||||
|
||||
return filter.Formats;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue