From b390a8bda41776368ac88cb007125a29becb0abe Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 9 Aug 2019 14:42:38 +0000 Subject: [PATCH] Bug 7074: Show subtitle, part and number of a record in list of checkins Shows the subtitle, part and number information from the biblio tables as part of the title in the list of checkins (for MARC21: 245$b$n$p). To test: - Apply patch - Catalog a record with 245$a$b$n$p filled out - Check the item out to any patron - Verify that in the list of checkouts the information shows - Check out any other items with different 245 - Verify information is correct - In a new tab, return the items - Verify that in the list of checkins the information now matches the checkouts list --- circ/returns.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/circ/returns.pl b/circ/returns.pl index 657229a10e..42226b4bcc 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -591,6 +591,9 @@ foreach ( sort { $a <=> $b } keys %returneditems ) { # FIXME pass $item to the template and we are done here... $ri{itembiblionumber} = $biblio->biblionumber; $ri{itemtitle} = $biblio->title; + $ri{subtitle} = $biblio->subtitle; + $ri{part_name} = $biblio->part_name; + $ri{part_number} = $biblio->part_number; $ri{itemauthor} = $biblio->author; $ri{itemcallnumber} = $item->itemcallnumber; $ri{dateaccessioned} = $item->dateaccessioned; -- 2.11.0