[Koha-bugs] [Bug 13642] Adding new features for Dublin Core metadata

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 9 17:45:45 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13642

--- Comment #124 from Frédéric Demians <frederic at tamil.fr> ---
Comment on attachment 44659
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44659
Bug 13642 [ENH] Adding new features for Dublin Core metadata

Review of attachment 44659:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=13642&attachment=44659)
-----------------------------------------------------------------

Otherwise it works for me both pro/opac interface, with a MARC21. I will test
later with an UNIMARC catalog.

::: C4/Record.pm
@@ +293,5 @@
> +            carp "\t". $warn;
> +        };
> +    } elsif ( $record =~ /^MARC::Record/ ) { # if OK makes xslt transformation
> +        my $xslt_engine = Koha::XSLT_Handler->new;
> +        if ( $format eq 'oaidc' || 'srwdc' || 'rdfdc' ) {

This test will always be true. I don't think it's what you want. You may want:

  if ( $format =~ /oaidc|srwdc|rdfdc/ ) {

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list