Bugzilla – Attachment 25775 Details for
Bug 5739
Check out waiting holds directly from "hold waiting" alerts on circulation screen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5739 - Show the barcode of the waiting item on the circulation page
Bug-5739---Show-the-barcode-of-the-waiting-item-on.patch (text/plain), 3.44 KB, created by
Jonathan Druart
on 2014-03-04 11:31:44 UTC
(
hide
)
Description:
Bug 5739 - Show the barcode of the waiting item on the circulation page
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-03-04 11:31:44 UTC
Size:
3.44 KB
patch
obsolete
>From 74706f5554a1813b2aabb6f615974dcf786eecaf Mon Sep 17 00:00:00 2001 >From: Liz Rea <liz@catalyst.net.nz> >Date: Sat, 18 Jan 2014 13:44:40 +1300 >Subject: [PATCH] Bug 5739 - Show the barcode of the waiting item on the > circulation page > >To test: > >1. place a hold for a borrower >2. mark the hold waiting for that borrower >3. view that borrower's circulation page >4. without the patch, no barcode will be displayed under "hold waiting for..." With it, the barcode will be linked to the item. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >Amended patch: fix qa issues (tabs and trailing spaces) >--- > circ/circulation.pl | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 3 ++- > 2 files changed, 3 insertions(+), 1 deletion(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index 509cd1d..10b42c0 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -410,6 +410,7 @@ if ($borrowernumber) { > $getWaitingReserveInfo{itemtype} = $itemtypeinfo->{'description'}; > $getWaitingReserveInfo{author} = $getiteminfo->{'author'}; > $getWaitingReserveInfo{itemcallnumber} = $getiteminfo->{'itemcallnumber'}; >+ $getWaitingReserveInfo{barcode} = $getiteminfo->{'barcode'}; > $getWaitingReserveInfo{reservedate} = format_date( $num_res->{'reservedate'} ); > $getWaitingReserveInfo{waitingat} = GetBranchName( $num_res->{'branchcode'} ); > $getWaitingReserveInfo{waitinghere} = 1 if $num_res->{'branchcode'} eq $branch; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index e667bc3..a507ddf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -630,7 +630,8 @@ No patron matched <span class="ex">[% message %]</span> > <h4>Holds waiting:</h4> > [% FOREACH WaitingReserveLoo IN WaitingReserveLoop %] > <ul> >- <li> <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% WaitingReserveLoo.biblionumber %]">[% WaitingReserveLoo.title |html %]</a> ([% WaitingReserveLoo.itemtype %]), [% IF ( WaitingReserveLoo.author ) %]by [% WaitingReserveLoo.author %][% END %] [% IF ( WaitingReserveLoo.itemcallnumber ) %][[% WaitingReserveLoo.itemcallnumber %]] [% END %]Hold placed on [% WaitingReserveLoo.reservedate %]. >+ <li> <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% WaitingReserveLoo.biblionumber %]">[% WaitingReserveLoo.title |html %]</a> ([% WaitingReserveLoo.itemtype %]), [% IF ( WaitingReserveLoo.author ) %]by [% WaitingReserveLoo.author %][% END %] [% IF ( WaitingReserveLoo.itemcallnumber ) %][[% WaitingReserveLoo.itemcallnumber %]] [% END %] <strong>Barcode:</strong> <a href="/cgi-bin/koha/catalogue/moredetail.pl?type=&itemnumber=[% WaitingReserveLoo.itemnumber %]&biblionumber=[%WaitingReserveLoo.biblionumber %]&bi=[% WaitingReserveLoo.biblionumber %]#item[% WaitingReserveLoo.itemnumber %]">[% WaitingReserveLoo.barcode %]</a> >+ <br /><strong>Hold placed on</strong> [% WaitingReserveLoo.reservedate %]. > [% IF ( WaitingReserveLoo.waitingat ) %] > <br />[% IF ( WaitingReserveLoo.waitinghere ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %]Waiting at [% WaitingReserveLoo.waitingat %]</strong> > [% END %] >-- >1.7.10.4
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 5739
:
24535
|
25775
|
27027