Bug 23938: Restore title display in last checked out box
authorNick Clemens <nick@bywatersolutions.com>
Thu, 31 Oct 2019 19:03:59 +0000 (19:03 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Sun, 3 Nov 2019 07:35:32 +0000 (07:35 +0000)
To test:
1 - Check out to a patron
2 - Note the display under the checkotu box does not have title
3 - Apply patch
4 - Checkout another item
5 - Note the title displays

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt

index acbe85a..7c78ca7 100644 (file)
 
                                             [% IF ( issue ) %]
                                                 <div class="lastchecked">
-                                                    <p><strong>Checked out: </strong>[% issue.item.biblioitemnumber.biblionumber.title | html %] ([% issue.item.barcode | html %]). Due on [% issue.date_due | $KohaDates as_due_date => 1 %]</p>
+                                                    <p><strong>Checked out: </strong>[% issue.item.biblio.title | html %] ([% issue.item.barcode | html %]). Due on [% issue.date_due | $KohaDates as_due_date => 1 %]</p>
                                                 </div>
                                             [% END %]
                                         </form> <!-- /#mainform -->