]> git.koha-community.org Git - koha.git/commit
Bug 38286: Do not fetch the items if OpacHiddenItemsHidesRecord is set
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 29 Oct 2024 12:52:48 +0000 (13:52 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Wed, 30 Oct 2024 13:34:53 +0000 (14:34 +0100)
commitdf429e4aba6b94bee7bc07691334475a9817c420
treebeb8dfbb13cacbb223a177e0781cb409d24dcc56
parent65aba0dc20a2d5389ec13782d839358a702ba357
Bug 38286: Do not fetch the items if OpacHiddenItemsHidesRecord is set

Koha::Biblio:hidden_in_opac does not need to fetch the items if OpacHiddenItemsHidesRecord is set

Test plan:
  prove t/db_dependent/Koha/Biblio.t t/db_dependent/Koha/Item.t t/db_dependent/api/v1/biblios.t
Should return green

Confirm the assumption above is correct.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Biblio.pm