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)
committerJacob O'Mara <jacobomara901@gmail.com>
Sun, 16 Apr 2023 17:39:23 +0000 (18:39 +0100)
commit04f2a29c3859546ecc15fe1309b16d6ad0d2597c
treecce0e1683755f1233899fef7ae59739bafa54d11
parent619239beea16766546cfaaa678ca76f102efc939
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>
(cherry picked from commit 6a6a4a3ec713590baa047c5c8b595255f2fad8c2)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
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