Bugzilla – Attachment 24535 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.30 KB, created by
Liz Rea
on 2014-01-18 00:46:54 UTC
(
hide
)
Description:
Bug 5739 - Show the barcode of the waiting item on the circulation page
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2014-01-18 00:46:54 UTC
Size:
3.30 KB
patch
obsolete
>From 64bf8ee9d9b3c3c8b8d41b19e0f0e7c62126ff8e 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. >--- > 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 9769731..84b4bab 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 a522236..3de2cc6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -629,7 +629,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.8.1.2
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