mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 10:44:23 -04:00
Reformatting code
This commit is contained in:
parent
55317b5c74
commit
d9c0721e3d
@ -4596,13 +4596,9 @@ namespace Emby.Server.Implementations.Data
|
|||||||
var paramName = "@ExcludeInheritedTags";
|
var paramName = "@ExcludeInheritedTags";
|
||||||
if (statement == null)
|
if (statement == null)
|
||||||
{
|
{
|
||||||
List<string> paramList = new List<string>();
|
int index = 0;
|
||||||
for (int index = 0; index < query.ExcludeInheritedTags.Length; index++)
|
string excludedTags = string.Join(",", query.ExcludeInheritedTags.Select(t => paramName + index++));
|
||||||
{
|
whereClauses.Add("((select CleanValue from itemvalues where ItemId=Guid and Type=6 and cleanvalue in (" + excludedTags + ")) is null)");
|
||||||
paramList.Add(paramName + index);
|
|
||||||
}
|
|
||||||
|
|
||||||
whereClauses.Add("((select CleanValue from itemvalues where ItemId=Guid and Type=6 and cleanvalue in (" + string.Join(",", paramList) + ")) is null)");
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user