]> git.koha-community.org Git - koha.git/commit
Bug 16522: (follow-up) If no 773$w, try to return host record
authorAleisha Amohia <aleishaamohia@hotmail.com>
Mon, 17 Oct 2022 22:38:44 +0000 (22:38 +0000)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Tue, 31 Jan 2023 17:17:28 +0000 (17:17 +0000)
commit0a3959d3eef881e05ad4b2444ffc4c88bbe8be1e
treece0cd3b72f70f2caf9f10739cd5fed4d9d7c66a8
parent4f2d16513c697966cf4216beb238dd8157c82a42
Bug 16522: (follow-up) If no 773$w, try to return host record

Use host biblionumber or host itemnumber to return a host record if
EasyAnalyticalRecords is enabled, or return an undef record and a string
of host information when get_marc_host is called in list context.

Confirm tests pass:
- t/db_dependent/Koha/Biblio/host_record.t

Signed-off-by: Heather Hernandez <heather_hernandez@nps.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 5e226c1a63f916e0224d9fcbaa6e5beaf8f5b44c)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
Koha/Biblio.pm
t/db_dependent/Koha/Biblio/host_record.t