[Koha-bugs] [Bug 8219] get_biblio_authorised_values embarrassingly inefficient

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Apr 28 16:00:03 CEST 2019


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |7923
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
It looks like there is only one occurence of this method in the current
codebase, but sadly it's Search.pm:

C4/Search.pm:        $oldbiblio->{'authorised_value_images'}  =
($search_context->{'interface'} eq 'opac' &&
C4::Context->preference('AuthorisedValueImages')) ||
($search_context->{'interface'} eq 'intranet' &&
C4::Context->preference('StaffAuthorisedValueImages')) ?
C4::Items::get_authorised_value_images(
C4::Biblio::get_biblio_authorised_values( $oldbiblio->{'biblionumber'},
$marcrecord ) ) : [];


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7923
[Bug 7923] Performance omnibus
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list