|
|
@ -1966,13 +1966,13 @@ namespace MediaBrowser.Server.Implementations.Persistence
|
|
|
|
whereClauses.Add(string.Format("(InheritedParentalRatingValue > 0 or UnratedType not in ({0}))", inClause));
|
|
|
|
whereClauses.Add(string.Format("(InheritedParentalRatingValue > 0 or UnratedType not in ({0}))", inClause));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//var excludeTagIndex = 0;
|
|
|
|
var excludeTagIndex = 0;
|
|
|
|
//foreach (var excludeTag in query.ExcludeTags)
|
|
|
|
foreach (var excludeTag in query.ExcludeTags)
|
|
|
|
//{
|
|
|
|
{
|
|
|
|
// whereClauses.Add("Tags not like @excludeTag" + excludeTagIndex);
|
|
|
|
whereClauses.Add("Tags not like @excludeTag" + excludeTagIndex);
|
|
|
|
// cmd.Parameters.Add(cmd, "@excludeTag" + excludeTagIndex, DbType.String).Value = "%" + excludeTag + "%";
|
|
|
|
cmd.Parameters.Add(cmd, "@excludeTag" + excludeTagIndex, DbType.String).Value = "%" + excludeTag + "%";
|
|
|
|
// excludeTagIndex++;
|
|
|
|
excludeTagIndex++;
|
|
|
|
//}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (addPaging)
|
|
|
|
if (addPaging)
|
|
|
|
{
|
|
|
|
{
|
|
|
|