mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
Improved the performance of gam <UserTypeEntity> print filelist when showmimetype and filepath|fullpath are both specified.
This commit is contained in:
@@ -53624,7 +53624,8 @@ def printFileList(users):
|
||||
DLP.GetFileIdEntity()
|
||||
if not fileIdEntity['shareddrive']:
|
||||
cleanFileIDsList(fileIdEntity, [ROOT, ORPHANS])
|
||||
noSelect = False
|
||||
if maxdepth != -1:
|
||||
noSelect = False
|
||||
elif not fileIdEntity:
|
||||
fileIdEntity = DLP.GetFileIdEntity()
|
||||
elif not buildTree:
|
||||
@@ -53634,7 +53635,7 @@ def printFileList(users):
|
||||
and not fileIdEntity['shareddrivefilequery']
|
||||
and _simpleFileIdEntityList(fileIdEntity['list']))
|
||||
incrementalPrint = buildTree and (not filepath) and noSelect and not DLP.locationSet and not showParent
|
||||
if incrementalPrint:
|
||||
if buildTree and noSelect and not DLP.locationSet and not showParent:
|
||||
DLP.AddMimeTypeToQuery()
|
||||
if buildTree:
|
||||
if not fileIdEntity.get('shareddrive'):
|
||||
|
||||
Reference in New Issue
Block a user