Bugzilla – Attachment 74785 Details for
Bug 12747
Add configurable extra column in Z3950 search result
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12747: Switch date field on marc flavour
Bug-12747-Switch-date-field-on-marc-flavour.patch (text/plain), 1.33 KB, created by
Séverine Queune
on 2018-04-24 08:10:05 UTC
(
hide
)
Description:
Bug 12747: Switch date field on marc flavour
Filename:
MIME Type:
Creator:
Séverine Queune
Created:
2018-04-24 08:10:05 UTC
Size:
1.33 KB
patch
obsolete
>From 79998b5994884c1d9dbeafafda01c9224d088c9d Mon Sep 17 00:00:00 2001 >From: David Bourgault <david.bourgault@inlibro.com> >Date: Wed, 22 Nov 2017 16:37:56 -0500 >Subject: [PATCH] Bug 12747: Switch date field on marc flavour >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Amended _add_rowdata to check only for the marcflavour-appropriate date field. This makes the test pass without noise. > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> >--- > C4/Breeding.pm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/C4/Breeding.pm b/C4/Breeding.pm >index 0c60da7..a7b5f99 100644 >--- a/C4/Breeding.pm >+++ b/C4/Breeding.pm >@@ -328,10 +328,10 @@ sub _add_rowdata { > author => 'biblio.author', > isbn =>'biblioitems.isbn', > lccn =>'biblioitems.lccn', #LC control number (not call number) >- edition =>'biblioitems.editionstatement', >- date => 'biblio.copyrightdate', #MARC21 >- date2 => 'biblioitems.publicationyear', #UNIMARC >+ edition =>'biblioitems.editionstatement' > ); >+ $fetch{date} = C4::Context->preference('marcflavour') eq "MARC21" ? 'biblio.copyrightdate' : 'biblioitems.publicationyear'; >+ > foreach my $k (keys %fetch) { > $row->{$k} = C4::Biblio::TransformMarcToKohaOneField( $fetch{$k}, $record ); > } >-- >2.1.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 12747
:
30713
|
36823
|
37836
|
37893
|
38221
|
38233
|
38240
|
38286
|
38439
|
38440
|
38456
|
38457
|
38458
|
38460
|
41313
|
41317
|
41318
|
41319
|
58424
|
58425
|
58426
|
60965
|
66586
|
66587
|
66588
|
66589
|
67314
|
67315
|
68214
|
68215
|
69297
|
72706
|
72896
|
72897
|
72898
|
72979
|
72980
|
72981
|
73930
|
73955
|
74035
|
74037
|
74038
|
74039
|
74040
|
74783
|
74784
|
74785
|
74786
|
74787
|
75096
|
77729
|
78270
|
78271
|
78272
|
78687
|
78688
|
79349
|
79350
|
79351