https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29697
--- Comment #70 from Nick Clemens <[email protected]> --- (In reply to Tomás Cohen Arazi from comment #69) > (In reply to Marcel de Rooy from comment #44) > > See also IRC > > > > - my $marcrecord = C4::Biblio::GetMarcBiblio({ biblionumber => > > $biblionumber }); > > + my $biblio = Koha::Biblios->find($biblionumber); > > + my $marcrecord = $biblio->metadata->record; > > > > This is a general pattern for most of the changes. > > Do you have performance figures ? > > We should add `{ prefetch => [ 'metadata' ] }` on the biblio search. For a single record, I don't think it's better. See: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30169 -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
