From af3a1627939f501138ab01e7681cf220851c8e96 Mon Sep 17 00:00:00 2001
From: dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Wed, 18 Aug 2010 16:00:41 +0000
Subject: [PATCH] Give authority records an XML-valid XML formats list

Still need to trim the actual list of formats for authority records,
as marcxml-full and marcxml-uris get listed, and those do not work
or make sense for authority records.


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

diff --git a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm
index f30b73c8ac..dec92eea46 100644
--- a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm
+++ b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm
@@ -397,6 +397,10 @@ sub unapi {
 				<formats id='$uri'>
 					<format name='opac' type='text/html'/>
 				FORMATS
+			} else {
+				$body .= <<"				FORMATS";
+				<formats id='$uri'>
+				FORMATS
 			}
 
 			for my $h (@$list) {
-- 
2.11.0