Just add a single record to the SRU results without a collection wrapper
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 1 May 2009 06:14:55 +0000 (06:14 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 1 May 2009 06:14:55 +0000 (06:14 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13030 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index ba00c55..2201c07 100644 (file)
@@ -1670,7 +1670,7 @@ sub sru_search {
                                        )
                                );
 
-                               $marcxml = $marc->as_xml();
+                               $marcxml = $marc->as_xml_record();
                                $marcxml =~ s/^<\?xml version="1.0" encoding="UTF-8"\?>//o;
 
                        }