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 <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Katrin Fischer 2019-08-09 14:42:38 +00:00 committed by Martin Renvoize
parent 2fc7027fe4
commit 992a68e004
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -788,7 +788,7 @@
</td>
<td class="ci-title">
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber | uri %]">
[% riloo.itemtitle | html %]
[% riloo.itemtitle | html %] [% FOREACH subt IN riloo.subtitle %] [% subt | html %] [% riloo.part_number | html %] [% riloo.part_name | html %][% END %]
</a>
[% IF ( riloo.enumchron ) %]
<br/>