request: device profile OUs should be sorted alphabetically
This commit is contained in:
1 parent
a3e1e1d030
commit
7a336e699a
1 file changed
+1
-1
@@ -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