[Koha-patches] [PATCH 1/2] Bug 6822: fix RIS export from OPAC
Galen Charlton
gmc at esilibrary.com
Tue Aug 30 20:50:11 CEST 2011
From: Steven Callender <stevecallender at esilibrary.com>
Prior to this patch, RIS export was producing
effectively empty output.
Signed-off-by: Steven Callender <stevecallender at esilibrary.com>
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
---
opac/opac-export.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opac/opac-export.pl b/opac/opac-export.pl
index d24ddb2..41bf81a 100755
--- a/opac/opac-export.pl
+++ b/opac/opac-export.pl
@@ -50,7 +50,7 @@ elsif ($format=~ /mods/) {
$marc = marc2modsxml($marc);
}
elsif ($format =~ /ris/) {
- $marc = marc2ris(MARC::Record->new_from_usmarc($marc));
+ $marc = marc2ris($marc);
}
elsif ($format =~ /bibtex/) {
$marc = marc2bibtex(C4::Biblio::GetMarcBiblio($biblionumber),$biblionumber);
--
1.7.4.1
More information about the Koha-patches
mailing list