From: erickson Date: Wed, 23 Jan 2008 16:30:52 +0000 (+0000) Subject: added org name sorting to org list retrieval X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=594638ca0ad098180034c9bc85fd68cde0d5466c;p=Evergreen.git added org name sorting to org list retrieval git-svn-id: svn://svn.open-ils.org/ILS/trunk@8481 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/extras/org_tree_js.pl b/Open-ILS/src/extras/org_tree_js.pl index fab85fa7e9..a867650dfa 100644 --- a/Open-ILS/src/extras/org_tree_js.pl +++ b/Open-ILS/src/extras/org_tree_js.pl @@ -24,8 +24,12 @@ $cache->delete_cache('orgtree'); # fetch the org_unit's and org_unit_type's my $e = OpenILS::Utils::CStoreEditor->new; -my $tree = $e->retrieve_all_actor_org_unit; my $types = $e->retrieve_all_actor_org_unit_type; +my $tree = $e->request( + 'open-ils.cstore.direct.actor.org_unit.search.atomic', + {id => {"!=" => undef}}, + {order_by => {aou => 'name'}} +); sub val {