Bugzilla – Attachment 71114 Details for
Bug 19365
link_bibs_to_authorities.pl doesn't work with Elasticsearch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19365 - link_bibs_to_authorities.pl doesn't work with Elasticsearch
Bug-19365---linkbibstoauthoritiespl-doesnt-work-wi.patch (text/plain), 1.06 KB, created by
Ere Maijala
on 2018-02-01 15:11:50 UTC
(
hide
)
Description:
Bug 19365 - link_bibs_to_authorities.pl doesn't work with Elasticsearch
Filename:
MIME Type:
Creator:
Ere Maijala
Created:
2018-02-01 15:11:50 UTC
Size:
1.06 KB
patch
obsolete
>From be5afe601147e3a5fd839760d1a6b0256a731594 Mon Sep 17 00:00:00 2001 >From: Ere Maijala <ere.maijala@helsinki.fi> >Date: Thu, 1 Feb 2018 17:10:08 +0200 >Subject: [PATCH] Bug 19365 - link_bibs_to_authorities.pl doesn't work with > Elasticsearch > >Fix the copyrightdate cast when it's empty. >--- > C4/Biblio.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index 4085465..151cfc9 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -3006,7 +3006,7 @@ sub _koha_modify_biblio { > > $sth->execute( > $frameworkcode, $biblio->{'author'}, $biblio->{'title'}, $biblio->{'unititle'}, $biblio->{'notes'}, >- $biblio->{'serial'}, $biblio->{'seriestitle'}, int($biblio->{'copyrightdate'}), $biblio->{'abstract'}, $biblio->{'biblionumber'} >+ $biblio->{'serial'}, $biblio->{'seriestitle'}, $biblio->{'copyrightdate'} ? int($biblio->{'copyrightdate'}) : undef, $biblio->{'abstract'}, $biblio->{'biblionumber'} > ) if $biblio->{'biblionumber'}; > > if ( $dbh->errstr || !$biblio->{'biblionumber'} ) { >-- >2.7.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 19365
:
71109
|
71114
|
73382
|
78732
|
78737
|
78875
|
79005
|
79006
|
79007
|
82282
|
82283
|
82284
|
82303
|
82304
|
82305
|
82307
|
82312
|
82313
|
82314
|
82325
|
82326
|
82327
|
82328
|
82406
|
82407
|
82408
|
82409
|
82410
|
82411
|
82412
|
82413
|
82414
|
82530
|
82531
|
82532
|
82533
|
82534