We should NOT have deleted copies in the export.
authorRobin H. Johnson <rjohnson@sitka.bclibraries.ca>
Wed, 29 Feb 2012 22:12:21 +0000 (14:12 -0800)
committerRobin H. Johnson <rjohnson@sitka.bclibraries.ca>
Wed, 29 Feb 2012 22:12:21 +0000 (14:12 -0800)
Signed-off-by: Robin H. Johnson <rjohnson@sitka.bclibraries.ca>
marc_export_custom/marc_export_custom

index 2728fde..8a544a0 100755 (executable)
@@ -453,6 +453,9 @@ sub add_bib_holdings {
                     my $circlib = $cp->circ_lib;
                     my $printlib = $cp->circ_lib;
 
+                   # Ignore deleted copies
+                   next COPYMAP if $cp->deleted;
+
                     if($cfg){
                         my $thisorg = $orgs{$circlib};