Smart Filter Encoding Fix (#2387)
This commit is contained in:
parent
b6d4938e22
commit
9894a2623c
133 changed files with 677 additions and 471 deletions
|
|
@ -1,14 +1,14 @@
|
|||
using System.Linq;
|
||||
using API.DTOs.Filtering;
|
||||
using API.Entities;
|
||||
using API.Extensions.QueryExtensions;
|
||||
|
||||
namespace API.Extensions.QueryExtensions.Filtering;
|
||||
#nullable enable
|
||||
|
||||
public class BookmarkSeriesPair
|
||||
{
|
||||
public AppUserBookmark Bookmark { get; set; }
|
||||
public Series Series { get; set; }
|
||||
public AppUserBookmark Bookmark { get; init; } = null!;
|
||||
public Series Series { get; init; } = null!;
|
||||
}
|
||||
|
||||
public static class BookmarkSort
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ using Kavita.Common;
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace API.Extensions.QueryExtensions.Filtering;
|
||||
|
||||
#nullable enable
|
||||
|
||||
public static class SeriesFilter
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
using System.Linq;
|
||||
using API.DTOs.Filtering;
|
||||
using API.Entities;
|
||||
using API.Extensions.QueryExtensions;
|
||||
|
||||
namespace API.Extensions.QueryExtensions.Filtering;
|
||||
#nullable enable
|
||||
|
||||
public static class SeriesSort
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ using API.Entities;
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace API.Extensions.QueryExtensions;
|
||||
#nullable enable
|
||||
|
||||
/// <summary>
|
||||
/// All extensions against IQueryable that enables the dynamic including based on bitwise flag pattern
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ using API.Entities.Scrobble;
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace API.Extensions.QueryExtensions;
|
||||
#nullable enable
|
||||
|
||||
public static class QueryableExtensions
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ using API.Entities;
|
|||
using API.Entities.Enums;
|
||||
|
||||
namespace API.Extensions.QueryExtensions;
|
||||
#nullable enable
|
||||
|
||||
/// <summary>
|
||||
/// Responsible for restricting Entities based on an AgeRestriction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue