Bug 33160: Use hostinfo to display title information when 773$w is empty
authorKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 7 Mar 2023 16:49:35 +0000 (16:49 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 6 Apr 2023 12:47:23 +0000 (09:47 -0300)
commit6a6a4a3ec713590baa047c5c8b595255f2fad8c2
treea2d71f5188e4f8858946861fcd1dc1ef0b5ba314
parent0d125917a1a8dfe1fddf68de219e09d3c9ad11c3
Bug 33160: Use hostinfo to display title information when 773$w is empty

When a 773 entry is not linked to another record using 773$w or
by using Easyanalytics, the title information would not display.

To test:
1. Activate the UseControlNumber system preference
2. Search for a record and make sure it has 001 set to some value.
3. Use Edit > Add child record to create an analytical record from this record.
4. Make sure 773$w was filled in and finish by adding any mandatory fields, save.
5. Add this record to your cart. Also add a 773$g with the pages or similar.
6. Create another record with 773$t and $g, but without $w.
7. Also add this record to your cart.
8. Look at the cart brief and full view in staff and OPAC.
9. Verify the In: source information only displays for the first record.
10. Apply patch
11. Veriy the In: source information now displays for both records on all 4 pages.

Signed-off-by: Heather Hernandez <heather_hernandez@nps.gov>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
basket/basket.pl
koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt
opac/opac-basket.pl