From 594638ca0ad098180034c9bc85fd68cde0d5466c Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 23 Jan 2008 16:30:52 +0000 Subject: [PATCH] added org name sorting to org list retrieval git-svn-id: svn://svn.open-ils.org/ILS/trunk@8481 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/extras/org_tree_js.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 { -- 2.11.0