enable shared media info

This commit is contained in:
Luke Pulverenti 2016-05-12 01:58:05 -04:00
parent c4e3bbaf4a
commit 2716315669

View File

@ -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;