[Koha-bugs] [Bug 29307] New: marc record fetched twice in detail.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 22 11:41:17 CEST 2021


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

            Bug ID: 29307
           Summary: marc record fetched twice in detail.pl
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org

86 my $record       = GetMarcBiblio({ biblionumber => $biblionumber });
 87 my $biblio = Koha::Biblios->find( $biblionumber );
 88 $template->param( 'biblio', $biblio );
 89 
 90 if ( not defined $record ) {
 91     # biblionumber invalid -> report and exit
 92     $template->param( unknownbiblionumber => 1,
 93                       biblionumber => $biblionumber );
 94     output_html_with_http_headers $query, $cookie, $template->output;
 95     exit;
 96 }
 97 
 98 eval { $biblio->metadata->record };
 99 $template->param( decoding_error => $@ );

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


More information about the Koha-bugs mailing list