[open-ils-commits] r8481 - trunk/Open-ILS/src/extras
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Jan 23 11:57:28 EST 2008
Author: erickson
Date: 2008-01-23 11:30:52 -0500 (Wed, 23 Jan 2008)
New Revision: 8481
Modified:
trunk/Open-ILS/src/extras/org_tree_js.pl
Log:
added org name sorting to org list retrieval
Modified: trunk/Open-ILS/src/extras/org_tree_js.pl
===================================================================
--- trunk/Open-ILS/src/extras/org_tree_js.pl 2008-01-23 16:28:55 UTC (rev 8480)
+++ trunk/Open-ILS/src/extras/org_tree_js.pl 2008-01-23 16:30:52 UTC (rev 8481)
@@ -24,8 +24,12 @@
# 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 {
More information about the open-ils-commits
mailing list