mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-29 18:31:38 +00:00
sort pring org results
This commit is contained in:
@@ -9518,6 +9518,8 @@ def doPrintOrgs():
|
|||||||
if title not in print_order:
|
if title not in print_order:
|
||||||
print_order.append(title)
|
print_order.append(title)
|
||||||
titles = sorted(titles, key=print_order.index)
|
titles = sorted(titles, key=print_order.index)
|
||||||
|
# sort results similar to how they list in admin console
|
||||||
|
csvRows.sort(key=lambda x: x[u'orgUnitPath'].lower(), reverse=False)
|
||||||
writeCSVfile(csvRows, titles, u'Orgs', todrive)
|
writeCSVfile(csvRows, titles, u'Orgs', todrive)
|
||||||
|
|
||||||
def doPrintAliases():
|
def doPrintAliases():
|
||||||
|
|||||||
Reference in New Issue
Block a user