mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-05 21:33:02 +02:00
update upcoming
This commit is contained in:
parent
723f4de97d
commit
1551ae6566
|
@ -1966,13 +1966,13 @@ namespace MediaBrowser.Server.Implementations.Persistence
|
|||
whereClauses.Add(string.Format("(InheritedParentalRatingValue > 0 or UnratedType not in ({0}))", inClause));
|
||||
}
|
||||
|
||||
//var excludeTagIndex = 0;
|
||||
//foreach (var excludeTag in query.ExcludeTags)
|
||||
//{
|
||||
// whereClauses.Add("Tags not like @excludeTag" + excludeTagIndex);
|
||||
// cmd.Parameters.Add(cmd, "@excludeTag" + excludeTagIndex, DbType.String).Value = "%" + excludeTag + "%";
|
||||
// excludeTagIndex++;
|
||||
//}
|
||||
var excludeTagIndex = 0;
|
||||
foreach (var excludeTag in query.ExcludeTags)
|
||||
{
|
||||
whereClauses.Add("Tags not like @excludeTag" + excludeTagIndex);
|
||||
cmd.Parameters.Add(cmd, "@excludeTag" + excludeTagIndex, DbType.String).Value = "%" + excludeTag + "%";
|
||||
excludeTagIndex++;
|
||||
}
|
||||
|
||||
if (addPaging)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue