Depending on future use cases this may need to be
made more generic, but as far as I'm currently aware
the only use for this list is to be displayed by
shortname, which is how they're now sorted.
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
}
return egPCRUD.search('aou', {parent_ou : null},
- {flesh : -1, flesh_fields : {aou : ['children', 'ou_type']}}
+ {flesh : -1, flesh_fields : {aou : ['children', 'ou_type']}, order_by : {aou : 'shortname ASC'}}
).then(
function(tree) {
$window.sessionStorage.setItem(