From edf098e27b361874d8b9fd91b0ef5b7df96b8cd5 Mon Sep 17 00:00:00 2001 From: dbs Date: Fri, 9 Jul 2010 10:01:44 +0000 Subject: [PATCH] SuperCat requests for plain marcxml were returning holdings / links This could cause "great fun" in the MARC editor as a bib record suddenly grew volume and xhtml:link elements; everything would spiral downward from there. git-svn-id: svn://svn.open-ils.org/ILS/trunk@16894 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm index a8a4c6e58d..1a7f6809d2 100644 --- a/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm +++ b/Open-ILS/src/perlmods/OpenILS/WWW/SuperCat.pm @@ -638,7 +638,7 @@ sub supercat { my $path = $cgi->path_info; my ($id,$type,$format,$command) = reverse split '/', $path; - my $flesh_feed = parse_feed_type($type); + my $flesh_feed = parse_feed_type($format); (my $base_format = $format) =~ s/(-full|-uris)$//o; my $skin = $cgi->param('skin') || 'default'; @@ -804,7 +804,7 @@ sub supercat { my $feed = create_record_feed( $type, $format => [ $id ], - undef, undef, + undef, undef, undef, $flesh_feed ); -- 2.11.0