From 4648f1f027b43295fb0a806b2399e0f1b5eb9c4e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 16 Feb 2016 15:58:44 +0000 Subject: [PATCH] [SIGNED-OFF] Bug 15833: item.biblioitemnumber returns a biblioitem DBIx::Class object Content-Type: text/plain; charset="utf-8" 2 links are wrong on the renew page, because item.biblioitemnumber does not return the biblioitemnumber as expect the template. Test plan: Renew an item and check the item link. It should contain a valid biblioitemnumber for the 'bi' parameter. Signed-off-by: Owen Leonard --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt index 5a33706..da3b83b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt @@ -39,7 +39,7 @@ [% ELSIF error == "no_checkout" %] -

[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) is not checked out to a patron.

+

[% item.biblio.title %] [% item.biblioitem.subtitle %] ( [% item.barcode %] ) is not checked out to a patron.

[% ELSIF error == "too_many" %] @@ -121,7 +121,7 @@

Item renewed:

[% item.biblio.title %] [% item.biblioitem.subtitle %] - ( [% item.barcode %] ) + ( [% item.barcode %] ) renewed for [% borrower.firstname %] [% borrower.surname %] ( [% borrower.cardnumber %] ) now due on [% date_due | $KohaDates %] -- 2.1.4