From 2a0cd2be45ec02f71d3c08192c0f7ef0b620a0eb Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 23 Aug 2006 22:30:06 +0000 Subject: [PATCH] added deleted check to barcode fetches git-svn-id: svn://svn.open-ils.org/ILS/trunk@5647 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm index dcd48eb477..1db0210f8d 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm @@ -265,7 +265,8 @@ __PACKAGE__->register_method( sub fleshed_by_barcode { my( $self, $conn, $barcode ) = @_; my $e = new_editor(); - my $copyid = $e->search_asset_copy({barcode => $barcode}, {idlist=>1})->[0] + my $copyid = $e->search_asset_copy( + {barcode => $barcode, deleted => 'f'}, {idlist=>1})->[0] or return $e->event; return $self->fleshed_copy_retrieve2($conn, $copyid); } -- 2.43.2