Show
Ignore:
Timestamp:
05/22/08 15:41:29 (5 months ago)
Author:
erickson
Message:

putting shortname into the generated org tree

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Open-ILS/src/extras/org_tree_js.pl

    r9470 r9669  
    5151my @array; 
    5252for my $o (@$tree) { 
    53         my ($i,$t,$p,$n,$v) = ($o->id,$o->ou_type,$o->parent_ou,val($o->name),val($o->opac_visible)); 
     53        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)); 
    5454    $p ||= 'null'; 
    55         push @array, "[$i,$t,$p,$n,$v]"; 
     55        push @array, "[$i,$t,$p,$n,$v,$s]"; 
    5656} 
    5757