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)
committerMike Rylander <mrylander@gmail.com>
Mon, 2 Apr 2012 14:18:53 +0000 (10:18 -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>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Mike Rylander <mrylander@gmail.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];
     }