From 992a68e004772de810eeca0b012e3ab635e08fdf 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 Signed-off-by: Owen Leonard Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- circ/returns.pl | 3 +++ koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 42d7a19089..a8a9ee955a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -788,7 +788,7 @@ - [% riloo.itemtitle | html %] + [% riloo.itemtitle | html %] [% FOREACH subt IN riloo.subtitle %] [% subt | html %] [% riloo.part_number | html %] [% riloo.part_name | html %][% END %] [% IF ( riloo.enumchron ) %]
-- 2.39.5