[open-ils-commits] r13651 - branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Search (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Jul 21 01:33:51 EDT 2009


Author: dbs
Date: 2009-07-21 01:33:47 -0400 (Tue, 21 Jul 2009)
New Revision: 13651

Modified:
   branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Search/Serial.pm
Log:
Merge r13647 from trunk: do not display serial holdings from deleted MFHD records

Modified: branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Search/Serial.pm
===================================================================
--- branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Search/Serial.pm	2009-07-21 05:33:22 UTC (rev 13650)
+++ branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Search/Serial.pm	2009-07-21 05:33:47 UTC (rev 13651)
@@ -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