TPAC: follow-up to serials holdings paging fix
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 9 Mar 2012 23:07:19 +0000 (18:07 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 19 Mar 2012 15:23:46 +0000 (11:23 -0400)
Some how I didn't notice it before, but my last commit broke things.
This unbreaks them.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Serial/OPAC.pm

index 11bc0a2..6422edc 100644 (file)
@@ -536,7 +536,7 @@ sub grouped_holdings_for_summary {
 
     # Will we be trying magic auto-expansion of the first top-level grouping?
     if ($auto_expand_first and @$tree and not @$expand_path) {
-        $expand_path = [$tree->[0]->{value}];
+        $expand_path = [$tree->[1]->{value}];
         $offsets = [0];
     }