forked from Kareadita/Kavita
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v0.7.8 - New Filtering System (Kareadita#2260)
Co-authored-by: JeanPaulDOT <[email protected]> Co-authored-by: Francois Wilhelmy <[email protected]> Co-authored-by: Gazy Mahomar <[email protected]> Co-authored-by: Stijn <[email protected]> Co-authored-by: 無情天 <[email protected]> Co-authored-by: Havokdan <[email protected]> Co-authored-by: Andre <[email protected]> Co-authored-by: Mateusz <[email protected]> Co-authored-by: Antonio Sanchez Castellón <[email protected]> Co-authored-by: Duarte Silva <[email protected]> Co-authored-by: LeeWan1210 <[email protected]> Co-authored-by: aleixcox <[email protected]> Co-authored-by: Tomas Battistini <[email protected]> Co-authored-by: mareczek82 <[email protected]> Co-authored-by: Hans Kalisvaart <[email protected]> Co-authored-by: majora2007 <[email protected]> Co-authored-by: afermar <[email protected]> Co-authored-by: oxygen44k <[email protected]> Co-authored-by: Weblate (bot) <[email protected]> Co-authored-by: Hadrien b <[email protected]> Co-authored-by: Robbie Davis <[email protected]> Co-authored-by: Andre Smith <[email protected]> Co-authored-by: Safu Wan <[email protected]> Co-authored-by: sibeck <[email protected]> Co-authored-by: Florestano Pepe <[email protected]> Co-authored-by: 书签 <[email protected]> Co-authored-by: Stéphane Dupont <[email protected]> Co-authored-by: gallegonovato <[email protected]> Co-authored-by: AlienHack <[email protected]> Co-authored-by: 周書丞 <[email protected]> Co-authored-by: Andre Smith <[email protected]> Co-authored-by: xe1st <[email protected]> Co-authored-by: Jiří Heger <[email protected]> Co-authored-by: DR <[email protected]> Co-authored-by: Mathieu Ares <[email protected]> Co-authored-by: Stavros Kois <[email protected]> Co-authored-by: Gazy Mahomar <[email protected]> Co-authored-by: Elias Jakob <[email protected]> Co-authored-by: Christian Zanon <[email protected]> Co-authored-by: Eryk Michalak <[email protected]> Co-authored-by: Hoshino0881118 <[email protected]>
- Loading branch information
1 parent
bdaadbe
commit 9795080
Showing
221 changed files
with
23,436 additions
and
6,896 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
using API.DTOs.Filtering.v2; | ||
using API.Extensions.QueryExtensions.Filtering; | ||
using Microsoft.EntityFrameworkCore; | ||
using Xunit; | ||
|
||
namespace API.Tests.Extensions; | ||
|
||
public class SeriesFilterTests : AbstractDbTest | ||
{ | ||
|
||
protected override Task ResetDb() | ||
{ | ||
return Task.CompletedTask; | ||
} | ||
|
||
#region HasLanguage | ||
|
||
[Fact] | ||
public async Task HasLanguage_Works() | ||
{ | ||
var foundSeries = await _context.Series.HasLanguage(true, FilterComparison.Contains, new List<string>() { }).ToListAsync(); | ||
|
||
} | ||
|
||
#endregion | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.