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

--- Comment #124 from Frédéric Demians <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to