use direct access -- those variables do not exist anymore
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 10 May 2009 14:03:07 +0000 (14:03 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 10 May 2009 14:03:07 +0000 (14:03 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13115 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm

index c791487..46ff960 100644 (file)
@@ -891,7 +891,12 @@ sub basic_record_holdings {
                        next unless grep { $cp->circ_lib->id == $_ } @ou_ids;
                        next unless ( $cp->deleted eq 'f' || $cp->deleted == 0 );
 
-                       push @{$holdings{$cn->label}{'copies'}}, { barcode => $cp_bc, status => $cp_stat, location => $cp_loc, circlib => $cp_lib};
+                       push @{$holdings{$cn->label}{'copies'}}, {
+                barcode => $cp->barcode,
+                status => $cp->status->name,
+                location => $cp->location->name,
+                circlib => $cp->circ_lib->shortname
+            };
 
                }
        }