adding holdings to fleshed atom feeds
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 May 2009 13:46:46 +0000 (13:46 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 May 2009 13:46:46 +0000 (13:46 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13046 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm

index 097c71d..16f23e6 100644 (file)
@@ -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);