From d829ac321980f490720cfcf8a0fbac3f3eb28aae Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 20 May 2026 19:09:48 +0000 Subject: [PATCH] Bug 42659: Use biblio-title.inc for displaying title at checkin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently at checking we display the number and parts all grouped,this is different than other places in Koha, we should use the same include here To test: 1 - Edit a record and set the title like: 245 1 4 ‡aThe passion according to G.H. ‡bsubtitle ‡nnumber1 ‡ppart1 ‡nnumber2 ‡ppart2 /‡cClarice Lispector ; translation by Ronald W. Sousa. 2 - Enable syspref 'ShowAllCheckins' 3 - Checkin an item from that record, display is like: The passion according to G.H. subtitle number1 number2 part1 part2 / 4 - Apply patch 5 - Check in again 6 - Display is now: The passion according to G.H. subtitle number1 part1 number2 part2 / 7 - Sign off! Signed-off-by: Eric Garcia Signed-off-by: David Nind Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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 de5ca257cd..cc95c1d380 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -1358,14 +1358,7 @@ [% END %] - - [% checkin.biblio.title | html %] - - [% FOREACH subtitle IN checkin.biblio.subtitle.split(' \\| ') %] [% subtitle | html %][% END %] - [% FOREACH part_number IN checkin.biblio.part_number.split(' \\| ') %] [% part_number | html %][% END %] - [% FOREACH part_name IN checkin.biblio.part_name.split(' \\| ') %] [% part_name | html %][% END %] - - + [%- INCLUDE 'biblio-title.inc' biblio=checkin.biblio link = 1 -%] [% IF ( checkin.item.enumchron ) %]
[% checkin.item.enumchron | html %]