mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 21:01:36 +00:00
Updated gam <UserTypeEntity> print drivelastmodification
to put `addcsvdata` columns after `User,id,name` rather than after the last column.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
7.18.07
|
||||||
|
|
||||||
|
Updated `gam <UserTypeEntity> print drivelastmodification` to put `addcsvdata` columns
|
||||||
|
after `User,id,name` rather than after the last column.
|
||||||
|
|
||||||
7.18.06
|
7.18.06
|
||||||
|
|
||||||
Updated `gam <UserTypeEntity> delete|modify messages` to improve the handling
|
Updated `gam <UserTypeEntity> delete|modify messages` to improve the handling
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
|
||||||
__version__ = '7.18.06'
|
__version__ = '7.18.07'
|
||||||
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
||||||
|
|
||||||
#pylint: disable=wrong-import-position
|
#pylint: disable=wrong-import-position
|
||||||
@@ -58313,11 +58313,11 @@ def printShowDrivelastModifications(users):
|
|||||||
DLP.Finalize(fileIdEntity)
|
DLP.Finalize(fileIdEntity)
|
||||||
if csvPF:
|
if csvPF:
|
||||||
sortTitles = ['User', 'id', 'name'] if fileIdEntity.get('shareddrive') else ['User']
|
sortTitles = ['User', 'id', 'name'] if fileIdEntity.get('shareddrive') else ['User']
|
||||||
|
if addCSVData:
|
||||||
|
sortTitles.extend(sorted(addCSVData.keys()))
|
||||||
sortTitles.extend(['lastModifiedFileId', 'lastModifiedFileName',
|
sortTitles.extend(['lastModifiedFileId', 'lastModifiedFileName',
|
||||||
'lastModifiedFileMimeType', 'lastModifiedFilePath',
|
'lastModifiedFileMimeType', 'lastModifiedFilePath',
|
||||||
'lastModifyingUser', 'lastModifiedTime'])
|
'lastModifyingUser', 'lastModifiedTime'])
|
||||||
if addCSVData:
|
|
||||||
sortTitles.extend(sorted(addCSVData.keys()))
|
|
||||||
csvPF.SetTitles(sortTitles)
|
csvPF.SetTitles(sortTitles)
|
||||||
csvPF.SetSortAllTitles()
|
csvPF.SetSortAllTitles()
|
||||||
pagesFields = getItemFieldsFromFieldsList('files', fieldsList)
|
pagesFields = getItemFieldsFromFieldsList('files', fieldsList)
|
||||||
|
|||||||
Reference in New Issue
Block a user