mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 16:54:46 +03:00
update db queries
This commit is contained in:
@@ -102,7 +102,8 @@ namespace MediaBrowser.Controller.Entities
|
||||
public LocationType? LocationType { get; set; }
|
||||
|
||||
public Guid? ParentId { get; set; }
|
||||
|
||||
public string[] AncestorIds { get; set; }
|
||||
|
||||
public InternalItemsQuery()
|
||||
{
|
||||
Tags = new string[] { };
|
||||
@@ -121,6 +122,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
PersonIds = new string[] { };
|
||||
ChannelIds = new string[] { };
|
||||
ItemIds = new string[] { };
|
||||
AncestorIds = new string[] { };
|
||||
}
|
||||
|
||||
public InternalItemsQuery(User user)
|
||||
@@ -130,6 +132,8 @@ namespace MediaBrowser.Controller.Entities
|
||||
{
|
||||
var policy = user.Policy;
|
||||
MaxParentalRating = policy.MaxParentalRating;
|
||||
|
||||
User = user;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user