Bugzilla – Attachment 44662 Details for
Bug 13642
Adding new features for Dublin Core metadata
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13642 (follow-up) Adding new features for Dublin Core metadata
Bug-13642-follow-up-Adding-new-features-for-Dublin.patch (text/plain), 926 bytes, created by
Héctor Eduardo Castro Avalos
on 2015-11-09 17:20:19 UTC
(
hide
)
Description:
Bug 13642 (follow-up) Adding new features for Dublin Core metadata
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2015-11-09 17:20:19 UTC
Size:
926 bytes
patch
obsolete
>From 3e7701bea05e42fe678b82a40d74f8d18e764ac5 Mon Sep 17 00:00:00 2001 >From: Hector Castro <hector.hecaxmmx@gmail.com> >Date: Mon, 9 Nov 2015 11:25:35 -0600 >Subject: [PATCH] Bug 13642 (follow-up) Adding new features for Dublin Core > metadata > >Correct if clasue according with comment 124 >--- > C4/Record.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Record.pm b/C4/Record.pm >index 746dd2d..1360155 100644 >--- a/C4/Record.pm >+++ b/C4/Record.pm >@@ -294,7 +294,7 @@ sub marc2dcxml { > }; > } elsif ( $record =~ /^MARC::Record/ ) { # if OK makes xslt transformation > my $xslt_engine = Koha::XSLT_Handler->new; >- if ( $format eq 'oaidc' || 'srwdc' || 'rdfdc' ) { >+ if ( $format =~ /oaidc|srwdc|rdfdc/ ) { > $output = $xslt_engine->transform( $marcxml, $xsl ); > } else { > croak "The format argument ($format) not accepted.\n" . >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13642
:
35637
|
35638
|
35639
|
35640
|
35641
|
35642
|
35643
|
35644
|
35645
|
35663
|
35957
|
35981
|
35982
|
35983
|
35999
|
36000
|
36005
|
36006
|
36147
|
36154
|
36631
|
36632
|
36633
|
36636
|
36714
|
38220
|
38819
|
39623
|
39654
|
40786
|
40787
|
42168
|
43311
|
43313
|
43545
|
43548
|
43549
|
43586
|
43612
|
44627
|
44629
|
44658
|
44659
|
44660
|
44661
|
44662
|
44669
|
44672
|
44677
|
44727
|
44728
|
44729
|
44815
|
44816
|
44819
|
45970
|
45971
|
46514
|
46584
|
46585
|
46586
|
46587
|
46588