[Koha-bugs] [Bug 33497] Reduce DB calls on staff detail page
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jul 7 17:12:27 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33497
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tomascohen at gmail.com
--- Comment #23 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #22)
> Created attachment 153183 [details] [review]
> Bug 33497: Don't get host items if the MARC record is invalid
>
> When don't want to explode with "invalid data" later so we need to
> condition the host_item search
>
> call trace was
>
> Koha::Biblio::Metadata::record('Koha::Biblio::
> Metadata=HASH(0x55ab92e60120)') called at /kohadevbox/koha/Koha/Biblio.pm
> line 538
> Koha::Biblio::_host_itemnumbers('Koha::Biblio=HASH(0x55ab92e4d5c0)')
> called at /kohadevbox/koha/Koha/Biblio.pm line 498
> Koha::Biblio::items('Koha::Biblio=HASH(0x55ab92e4d5c0)',
> 'HASH(0x55ab934615d8)') called at /kohadevbox/koha/catalogue/detail.pl line
> 200
>
> This is fixing t/db_dependent/selenium/regressions.t
Follow-up pushed. Thanks, Jonathan!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list