request: device profile OUs should be sorted alphabetically
This commit is contained in:
@@ -314,7 +314,7 @@ namespace Disco.Services.Interop.ActiveDirectory
|
|||||||
ADOrganisationalUnit ouParent;
|
ADOrganisationalUnit ouParent;
|
||||||
if (indexedOrganisationalUnits.TryGetValue(ouChildren.Key, out ouParent))
|
if (indexedOrganisationalUnits.TryGetValue(ouChildren.Key, out ouParent))
|
||||||
{
|
{
|
||||||
ouParent.Children = ouChildren.Value;
|
ouParent.Children = ouChildren.Value.OrderBy(o => o.Name).ToList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user