[open-ils-commits] r8513 -
trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Jan 28 12:40:47 EST 2008
Author: miker
Date: 2008-01-28 12:13:33 -0500 (Mon, 28 Jan 2008)
New Revision: 8513
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
Log:
ignore deleted records within a metarecord
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2008-01-28 15:09:11 UTC (rev 8512)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2008-01-28 17:13:33 UTC (rev 8513)
@@ -838,7 +838,11 @@
{$_->record}
metabib::record_descriptor
->search(
- record => [ map { $_->id } metabib::metarecord->retrieve($hold->target)->source_records ],
+ record => [
+ map {
+ isTrue($_->deleted) ? () : ($_->id)
+ } metabib::metarecord->retrieve($hold->target)->source_records
+ ],
( $types ? (item_type => [split '', $types]) : () ),
( $formats ? (item_form => [split '', $formats]) : () ),
( $lang ? (item_lang => $lang) : () ),
More information about the open-ils-commits
mailing list