Browse Source

Bug 31526: Follow-up for bug 29697

There was a typo in bug 29697 which lead to a code reference error.

Test plan
1) Export a record with ISBN from your catalog (Save as MARC)
2) Stage it using the ISBN matching rule (make sure it matched)
3) Manage staged import and click on the Diff link

Prior to this patch an error would be thrown, after the patch you should
now get the diff view as expected again.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
22.11.x
Martin Renvoize 2 years ago
committed by Tomas Cohen Arazi
parent
commit
f5b32eb509
Signed by: tomascohen GPG Key ID: 0A272EA1B2F3C15F
  1. 2
      tools/showdiffmarc.pl

2
tools/showdiffmarc.pl

@ -62,7 +62,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
if ( $type eq 'biblio' ) {
my $biblio = Koha::Biblios->find( $recordid );
$record = $biblio->metadata->record->({ embed_items => 1 });
$record = $biblio->metadata->record({ embed_items => 1 });
$recordTitle = $biblio->title;
}
elsif ( $type eq 'auth' ) {

Loading…
Cancel
Save