Bug 42659: Use biblio-title.inc for displaying title at checkin
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 <cubingguy714@gmail.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit d829ac3219)
Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
This commit is contained in:
parent
c6828282bc
commit
037bd7c721
|
|
@ -1356,14 +1356,7 @@
|
|||
[% END %]
|
||||
</td>
|
||||
<td class="ci-title">
|
||||
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% checkin.biblio.biblionumber | uri %]">
|
||||
[% checkin.biblio.title | html %]
|
||||
<!-- prettier-ignore-start -->
|
||||
[% FOREACH subtitle IN checkin.biblio.subtitle.split(' \\| ') %] <span class="subtitle">[% subtitle | html %]</span>[% END %]
|
||||
[% FOREACH part_number IN checkin.biblio.part_number.split(' \\| ') %] <span class="part_number">[% part_number | html %]</span>[% END %]
|
||||
[% FOREACH part_name IN checkin.biblio.part_name.split(' \\| ') %] <span class="part_name">[% part_name | html %]<span>[% END %]
|
||||
<!-- prettier-ignore-end -->
|
||||
</a>
|
||||
[%- INCLUDE 'biblio-title.inc' biblio=checkin.biblio link = 1 -%]
|
||||
[% IF ( checkin.item.enumchron ) %]
|
||||
<br />
|
||||
<span class="item_enumeration" style="white-space: nowrap;">[% checkin.item.enumchron | html %]</span>
|
||||
|
|
|
|||
Loading…
Reference in New Issue