Files: fix returning items count
This commit is contained in:
parent
5422632e6f
commit
adc630d4c9
@ -1536,7 +1536,7 @@ namespace ASC.Api.Documents
|
||||
var startIndex = Convert.ToInt32(ApiContext.StartIndex);
|
||||
return FolderContentWrapperHelper.Get(FileStorageService.GetFolderItems(folderId.ToString(),
|
||||
startIndex,
|
||||
Convert.ToInt32(ApiContext.Count) - 1, //NOTE: in ApiContext +1
|
||||
Convert.ToInt32(ApiContext.Count), //NOTE: last value: Convert.ToInt32(ApiContext.Count) - 1; in ApiContext +1
|
||||
filterType,
|
||||
filterType == FilterType.ByUser,
|
||||
userIdOrGroupId.ToString(),
|
||||
|
Loading…
Reference in New Issue
Block a user