mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
update search
This commit is contained in:
@@ -1202,6 +1202,12 @@ namespace MediaBrowser.Server.Implementations.Persistence
|
||||
whereClauses.Add(string.Format("ChannelId in ({0})", inClause));
|
||||
}
|
||||
|
||||
if (query.ParentId.HasValue)
|
||||
{
|
||||
whereClauses.Add("ParentId=@ParentId");
|
||||
cmd.Parameters.Add(cmd, "@ParentId", DbType.Guid).Value = query.ParentId.Value;
|
||||
}
|
||||
|
||||
if (query.MinEndDate.HasValue)
|
||||
{
|
||||
whereClauses.Add("EndDate>=@MinEndDate");
|
||||
|
||||
Reference in New Issue
Block a user