From: miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Mon, 4 May 2009 13:46:46 +0000 (+0000) Subject: adding holdings to fleshed atom feeds X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cc0b5646ba1844ae796f3ddaa7fdaacbe00fff84;p=evergreen%2Fmasslnc.git adding holdings to fleshed atom feeds git-svn-id: svn://svn.open-ils.org/ILS/trunk@13046 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm index 097c71dab4..16f23e616c 100644 --- a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm +++ b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm @@ -1234,7 +1234,7 @@ sub create_record_feed { next unless $node; $xml = ''; - if ($lib && $type eq 'marcxml' && $flesh) { + if ($lib && ($type eq 'marcxml' || $type eq 'atom') && $flesh) { my $r = $supercat->request( "open-ils.supercat.$search.holdings_xml.retrieve", $rec, $lib ); while ( !$r->complete ) { $xml .= join('', map {$_->content} $r->recv);