[open-ils-commits] r9669 - trunk/Open-ILS/src/extras

svn at svn.open-ils.org svn at svn.open-ils.org
Thu May 22 15:41:33 EDT 2008


Author: erickson
Date: 2008-05-22 15:41:29 -0400 (Thu, 22 May 2008)
New Revision: 9669

Modified:
   trunk/Open-ILS/src/extras/org_tree_js.pl
Log:
putting shortname into the generated org tree

Modified: trunk/Open-ILS/src/extras/org_tree_js.pl
===================================================================
--- trunk/Open-ILS/src/extras/org_tree_js.pl	2008-05-22 15:58:25 UTC (rev 9668)
+++ trunk/Open-ILS/src/extras/org_tree_js.pl	2008-05-22 19:41:29 UTC (rev 9669)
@@ -50,9 +50,9 @@
 
 my @array;
 for my $o (@$tree) {
-	my ($i,$t,$p,$n,$v) = ($o->id,$o->ou_type,$o->parent_ou,val($o->name),val($o->opac_visible));
+	my ($i,$t,$p,$n,$v,$s) = ($o->id,$o->ou_type,$o->parent_ou,val($o->name),val($o->opac_visible),val($o->shortname));
     $p ||= 'null';
-	push @array, "[$i,$t,$p,$n,$v]";
+	push @array, "[$i,$t,$p,$n,$v,$s]";
 }
 
 $pile .= join ',', @array;



More information about the open-ils-commits mailing list