[Koha-bugs] [Bug 29697] Replace GetMarcBiblio occurrences with $biblio->metadata->record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 3 10:48:12 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29697

--- Comment #47 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
diff --git a/catalogue/detail.pl b/catalogue/detail.pl
index 502963f8d6..120fc28a88 100755
--- a/catalogue/detail.pl
+++ b/catalogue/detail.pl
@@ -84,6 +84,7 @@ if ( C4::Context->config('enable_plugins') ) {

 my $biblionumber = $query->param('biblionumber');
 $biblionumber = HTML::Entities::encode($biblionumber);
+# FIXME Special case here
 my $record       = GetMarcBiblio({ biblionumber => $biblionumber });
 my $biblio = Koha::Biblios->find( $biblionumber );


Not completely clear what this FIXME is doing here now.
I assume that it relates to the encode biblionumber thing. But if it does, it
would be a better idea to put it on the same line.
In this context it could be something with this change too..

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list