From cc0b5646ba1844ae796f3ddaa7fdaacbe00fff84 Mon Sep 17 00:00:00 2001
From: miker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Mon, 4 May 2009 13:46:46 +0000
Subject: [PATCH] adding holdings to fleshed atom feeds

git-svn-id: svn://svn.open-ils.org/ILS/trunk@13046 dcc99617-32d9-48b4-a31d-7c20da2025e4
---
 Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
2.11.0