added deleted check to copy search
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 31 Aug 2006 19:52:54 +0000 (19:52 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 31 Aug 2006 19:52:54 +0000 (19:52 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5814 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/SIP/Item.pm

index 02e0bd9..2c1a4fd 100644 (file)
@@ -33,7 +33,7 @@ sub new {
 
        my $copy = $e->search_asset_copy(
                [
 
        my $copy = $e->search_asset_copy(
                [
-                       { barcode => $item_id },
+                       { barcode => $item_id, deleted => 'f' },
                        {
                                flesh => 3,
                                flesh_fields => {
                        {
                                flesh => 3,
                                flesh_fields => {