arg, typos
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 30 Mar 2010 16:24:28 +0000 (16:24 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 30 Mar 2010 16:24:28 +0000 (16:24 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16059 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/extras/facet_types_js.pl

index c124f05..50e0890 100644 (file)
@@ -82,7 +82,7 @@ sub build_tree_js {
             classlabel  => val($o->field_class->label)
         );
 
-        $pile .= $id.':{'.join(',' map { "$_:$hash{$_}" } keys %hash).'",';
+        $pile .= $hash{id}.':{'.join(',', map { "$_:$hash{$_}" } keys %hash).'",';
     }
 
     $pile =~ s/,$//; # remove trailing comma