https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38093 --- Comment #16 from Arthur Suzuki <arthur.suzuki@biblibre.com> --- Comment on attachment 190961 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190961 Bug 38093: Bundles: (QA follow-up) fix small error in parameter name
From 1ebe991d4527af39799928a82361ad533a2245b2 Mon Sep 17 00:00:00 2001 From: Arthur Suzuki <arthur.suzuki@biblibre.com> Date: Tue, 6 Jan 2026 20:46:21 +0000 Subject: [PATCH] Bug 38093: Bundles: (QA follow-up) fix small error in parameter name
--- Koha/Biblio.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index d8e378f47e4..32d62048ef1 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -2171,7 +2171,6 @@ sub unlink_marc_host { C4::Biblio::ModBiblio( $record, $self->biblionumber ); }
- =head3 link_marc_host
$biblio->link_marc_host({ field => $link_field}); @@ -2220,11 +2219,12 @@ sub link_marc_bundled_item { if ( ref( $params->{bundled_item} ) eq 'Koha::Item' ) { $bundled_item = $params->{bundled_item}; } else { - my $bundled_item = Koha::Items->find( $params->{host} ); + my $bundled_item = Koha::Items->find( $params->{bundled_item} ); }
my $record = $self->metadata->record; my $tag = C4::Context->preference('marcflavour') eq 'UNIMARC' ? '462' : '774'; + # Remove fields that references the same itemnumber # to avoid duplicates my @fields = $record->field($tag); -- 2.39.5
-- You are receiving this mail because: You are watching all bug changes.