mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix build due to rebase
This commit is contained in:
parent
b1ccd6bad9
commit
88aa5da354
@ -184,7 +184,7 @@ namespace Emby.Server.Implementations.Activity
|
|||||||
|
|
||||||
var whereTextWithoutPaging = whereClauses.Count == 0 ?
|
var whereTextWithoutPaging = whereClauses.Count == 0 ?
|
||||||
string.Empty :
|
string.Empty :
|
||||||
" where " + string.Join(" AND ", whereClauses.ToArray(whereClauses.Count));
|
" where " + string.Join(" AND ", whereClauses.ToArray());
|
||||||
|
|
||||||
if (startIndex.HasValue && startIndex.Value > 0)
|
if (startIndex.HasValue && startIndex.Value > 0)
|
||||||
{
|
{
|
||||||
@ -199,7 +199,7 @@ namespace Emby.Server.Implementations.Activity
|
|||||||
|
|
||||||
var whereText = whereClauses.Count == 0 ?
|
var whereText = whereClauses.Count == 0 ?
|
||||||
string.Empty :
|
string.Empty :
|
||||||
" where " + string.Join(" AND ", whereClauses.ToArray(whereClauses.Count));
|
" where " + string.Join(" AND ", whereClauses.ToArray());
|
||||||
|
|
||||||
commandText += whereText;
|
commandText += whereText;
|
||||||
|
|
||||||
@ -244,7 +244,7 @@ namespace Emby.Server.Implementations.Activity
|
|||||||
result.TotalRecordCount = statement.ExecuteQuery().SelectScalarInt().First();
|
result.TotalRecordCount = statement.ExecuteQuery().SelectScalarInt().First();
|
||||||
}
|
}
|
||||||
|
|
||||||
result.Items = list.ToArray(list.Count);
|
result.Items = list.ToArray();
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
}, ReadTransactionMode);
|
}, ReadTransactionMode);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user