[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.04-90-g4b2e6d56f2
Git repo owner
gitmaster at git.koha-community.org
Tue Oct 20 22:53:36 CEST 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, 20.05.x has been updated
via 4b2e6d56f2d54d12f22982bbcf23cdc6e790e961 (commit)
via d9599a6d3376df3479e040628d61b55aa88e1966 (commit)
from 3d21e7b578f046c51a4d50775500058744be5530 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4b2e6d56f2d54d12f22982bbcf23cdc6e790e961
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Oct 8 10:58:48 2020 +0200
Bug 25913: Get the correct return of AddBiblio
We need the parenthesis to get the biblionumber and not the
biblioitemnumber, in case there is a discrepancy.
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
(cherry picked from commit 08386fabcbfbc29f23091f6fd7838fcb362abed3)
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
commit d9599a6d3376df3479e040628d61b55aa88e1966
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Jul 30 10:41:45 2020 +0200
Bug 25913: Prevent get_coins to crash if record does not have title
If a bibliographic record does not have a title, get_coins will crash
with
Can't call method "as_string" on an undefined value at /kohadevbox/koha/Koha/Biblio.pm line 645
Koha::Biblio::get_coins('Koha::Biblio=HASH(0x5558f91bb740)') called at /kohadevbox/koha/catalogue/ISBDdetail.pl line 144
We can handle that situation easily by checking the existence of the
title field.
Test plan:
1. Create a record without 245
2. Enable COinSinOpac
4. Go to the ISBD detail view
=> It must not fail with this patch applied
Signed-off-by: Heather Hernandez <heather_hernandez at nps.gov>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
(cherry picked from commit 64c939ca80a306af2560c99da0f58b1aeaed13c6)
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/Biblio.pm | 3 ++-
t/db_dependent/Koha/Biblio.t | 13 +++++++++++--
2 files changed, 13 insertions(+), 3 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list