[open-ils-commits] r13647 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Search (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Jul 21 01:29:03 EDT 2009


Author: dbs
Date: 2009-07-21 01:28:59 -0400 (Tue, 21 Jul 2009)
New Revision: 13647

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Serial.pm
Log:
Do not display holdings for serial records that have been deleted


Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Serial.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Serial.pm	2009-07-21 01:15:56 UTC (rev 13646)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Serial.pm	2009-07-21 05:28:59 UTC (rev 13647)
@@ -87,7 +87,7 @@
 	my @mfhd = $U->cstorereq( "open-ils.cstore.json_query.atomic", {
 		select  => { sre => 'marc' },
 		from    => 'sre',
-		where   => { record => $bib },
+		where   => { record => $bib, deleted => 'f' },
 		distinct => 1
 	});
 	
@@ -114,7 +114,7 @@
 	my $mfhd;
 
 	my $e = OpenILS::Utils::CStoreEditor->new();
-	my $serials = $e->search_serial_record_entry({ record => $bib });
+	my $serials = $e->search_serial_record_entry({ record => $bib, deleted => 'f' });
 	if (!ref $serials) {
 		return undef;
 	}



More information about the open-ils-commits mailing list