Merge branch 'master' into feature/files
This commit is contained in:
commit
92fe787fef
@ -656,7 +656,7 @@ namespace ASC.Files.Core.Data
|
||||
|
||||
foreach (var f in toUpdate)
|
||||
{
|
||||
var count = FilesDbContext.Tree.Where(r => r.ParentId == (int)id).Count() - 1;
|
||||
var count = FilesDbContext.Tree.Where(r => r.ParentId == f.Id).Count() - 1;
|
||||
f.FoldersCount = count;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user