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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 30 Jan 2023 15:10:12 +0000 (12:10 -0300)
commit5e226c1a63f916e0224d9fcbaa6e5beaf8f5b44c
treee2ec3b1672a5d94ef130b5c59d0067d7531a0187
parent48aa83a3cabc52804089199d24ea158e2586b129
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>
Koha/Biblio.pm
t/db_dependent/Koha/Biblio/host_record.t