Bugfix/in progress (#452)

# Fixed
- Fixed: Fixed an issue in In Progress where it would not pull the series with correct pagination due to the unique situation with the query. All series that are in progress should now return. 
============================
* Fixed In Progress not showing for all series due to pagination bug

* Version bump
This commit is contained in:
Joseph Milazzo 2021-07-29 19:57:06 -05:00 committed by GitHub
parent 01007dee28
commit fd6fa2fce4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 52 additions and 41 deletions

View file

@ -7,7 +7,7 @@ namespace API.Extensions
{
public static class FilterDtoExtensions
{
private static IList<MangaFormat> _allFormats = Enum.GetValues<MangaFormat>();
private static readonly IList<MangaFormat> AllFormats = Enum.GetValues<MangaFormat>();
public static IList<MangaFormat> GetSqlFilter(this FilterDto filter)
{
@ -19,10 +19,7 @@ namespace API.Extensions
(MangaFormat) format
};
}
else
{
return _allFormats;
}
return AllFormats;
}
}
}