enable shared media info
This commit is contained in:
parent
c4e3bbaf4a
commit
2716315669
|
@ -1986,10 +1986,6 @@ namespace MediaBrowser.Server.Implementations.Persistence
|
|||
cmd.Parameters.Add(cmd, "@UserId", DbType.Guid).Value = query.User.Id;
|
||||
}
|
||||
|
||||
var whereTextWithoutPaging = whereClauses.Count == 0 ?
|
||||
string.Empty :
|
||||
" where " + string.Join(" AND ", whereClauses.ToArray());
|
||||
|
||||
var whereText = whereClauses.Count == 0 ?
|
||||
string.Empty :
|
||||
" where " + string.Join(" AND ", whereClauses.ToArray());
|
||||
|
@ -2025,7 +2021,7 @@ namespace MediaBrowser.Server.Implementations.Persistence
|
|||
}
|
||||
|
||||
cmd.CommandText += GetJoinUserDataText(query);
|
||||
cmd.CommandText += whereTextWithoutPaging;
|
||||
cmd.CommandText += whereText;
|
||||
|
||||
var list = new List<Guid>();
|
||||
var count = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user