Bugzilla – Attachment 14339 Details for
Bug 9332
Display call number in "Holds waiting" notice (checkout page)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 9332: Display call number in "Holds waiting" notice
SIGNED-OFF-Bug-9332-Display-call-number-in-Holds-w.patch (text/plain), 2.94 KB, created by
Owen Leonard
on 2012-12-31 15:02:09 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 9332: Display call number in "Holds waiting" notice
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-12-31 15:02:09 UTC
Size:
2.94 KB
patch
obsolete
>From 489681beaf8a1c40bbf096cd373b5030997211c5 Mon Sep 17 00:00:00 2001 >From: Adrien Saurat <adrien.saurat@biblibre.com> >Date: Mon, 31 Dec 2012 15:03:44 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 9332: Display call number in "Holds > waiting" notice >Content-Type: text/plain; charset="utf-8" > >When checking out from a patron page, a notice "Holds waiting" appears >if a biblio (on hold) is waiting for this borrower. >This patch adds the call number information to this warning. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Nice little improvement, thanks. >--- > circ/circulation.pl | 1 + > .../prog/en/modules/circ/circulation.tt | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index 91fd1a2..bd1ec33 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -373,6 +373,7 @@ if ($borrowernumber) { > $getWaitingReserveInfo{biblionumber} = $getiteminfo->{'biblionumber'}; > $getWaitingReserveInfo{itemtype} = $itemtypeinfo->{'description'}; > $getWaitingReserveInfo{author} = $getiteminfo->{'author'}; >+ $getWaitingReserveInfo{itemcallnumber} = $getiteminfo->{'itemcallnumber'}; > $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 9c045cd..a8e64a6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -688,7 +688,7 @@ 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 %] 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 %]Hold placed on [% WaitingReserveLoo.reservedate %]. > [% IF ( WaitingReserveLoo.waitingat ) %] > <br />[% IF ( WaitingReserveLoo.waitinghere ) %]<strong class="waitinghere">[% ELSE %]<strong>[% END %]Waiting at [% WaitingReserveLoo.waitingat %]</strong> > [% END %] >-- >1.7.9.5
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 9332
:
14335
|
14339
|
15163