Files: fix count
This commit is contained in:
parent
ecd18e2a13
commit
c593620865
@ -806,7 +806,7 @@ namespace ASC.Files.Helpers
|
||||
var startIndex = Convert.ToInt32(ApiContext.StartIndex);
|
||||
return FolderContentWrapperHelper.Get(FileStorageService.GetFolderItems(folderId,
|
||||
startIndex,
|
||||
Convert.ToInt32(ApiContext.Count) - 1, //NOTE: in ApiContext +1
|
||||
Convert.ToInt32(ApiContext.Count),
|
||||
filterType,
|
||||
filterType == FilterType.ByUser,
|
||||
userIdOrGroupId.ToString(),
|
||||
|
Loading…
Reference in New Issue
Block a user