Bugzilla – Attachment 48143 Details for
Bug 15833
Bad variable value in renewal template confirmation dialog
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15833: item.biblioitemnumber returns a biblioitem DBIx::Class object
Bug-15833-itembiblioitemnumber-returns-a-biblioite.patch (text/plain), 2.93 KB, created by
Jonathan Druart
on 2016-02-16 16:00:42 UTC
(
hide
)
Description:
Bug 15833: item.biblioitemnumber returns a biblioitem DBIx::Class object
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-02-16 16:00:42 UTC
Size:
2.93 KB
patch
obsolete
>From 2d9fa65aa1c87c81aec775105d51ba1d565f8930 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 16 Feb 2016 15:58:44 +0000 >Subject: [PATCH] Bug 15833: item.biblioitemnumber returns a biblioitem > DBIx::Class object > >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. >--- > 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" %] > >- <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber %]">[% item.biblio.title %] [% item.biblioitem.subtitle %]</a> ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber %]&biblionumber=[% item.biblionumber %]&bi=[% item.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a> ) is not checked out to a patron.</p> >+ <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber %]">[% item.biblio.title %] [% item.biblioitem.subtitle %]</a> ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber %]&biblionumber=[% item.biblionumber %]&bi=[% item.biblioitemnumber.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a> ) is not checked out to a patron.</p> > > [% ELSIF error == "too_many" %] > >@@ -121,7 +121,7 @@ > <h3>Item renewed:</h3> > <p> > <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber %]">[% item.biblio.title %] [% item.biblioitem.subtitle %]</a> >- ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber %]&biblionumber=[% item.biblionumber %]&bi=[% item.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a> ) >+ ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber %]&biblionumber=[% item.biblionumber %]&bi=[% item.biblioitemnumber.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a> ) > renewed for > [% borrower.firstname %] [% borrower.surname %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber %]"> [% borrower.cardnumber %] </a> ) > now due on [% date_due | $KohaDates %] >-- >2.7.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15833
:
48143
|
48146
|
48227