On third thought, let the caller escape the values; might not be an XML context.
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 10 May 2009 13:05:11 +0000 (13:05 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 10 May 2009 13:05:11 +0000 (13:05 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13114 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 3592f81..c791487 100644 (file)
@@ -891,12 +891,6 @@ sub basic_record_holdings {
                        next unless grep { $cp->circ_lib->id == $_ } @ou_ids;
                        next unless ( $cp->deleted eq 'f' || $cp->deleted == 0 );
 
-                       # Ugly, but avoids (for now) returning 1 for each of these
-                       my $cp_stat = escape($self, $cp->status->name);
-                       my $cp_loc = escape($self, $cp->location->name);
-                       my $cp_lib = escape($self, $cp->circ_lib->shortname);
-                       my $cp_bc = escape($self, $cp->barcode);
-
                        push @{$holdings{$cn->label}{'copies'}}, { barcode => $cp_bc, status => $cp_stat, location => $cp_loc, circlib => $cp_lib};
 
                }