Bugzilla – Attachment 29469 Details for
Bug 12523
Add patron email in Holds awaiting pickup circulation report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12523 - Add patron email in Holds awaiting pickup circulation rapport
Bug-12523---Add-patron-email-in-Holds-awaiting-pic.patch (text/plain), 1.37 KB, created by
simith.doliveira
on 2014-07-03 12:34:15 UTC
(
hide
)
Description:
Bug 12523 - Add patron email in Holds awaiting pickup circulation rapport
Filename:
MIME Type:
Creator:
simith.doliveira
Created:
2014-07-03 12:34:15 UTC
Size:
1.37 KB
patch
obsolete
>From ec75e1d2c9703f4d1349fb3bb26379e9d9c74874 Mon Sep 17 00:00:00 2001 >From: simith <simith@inlibro.com> >Date: Thu, 3 Jul 2014 08:32:32 -0400 >Subject: [PATCH] Bug 12523 - Add patron email in Holds awaiting pickup > circulation rapport > >Modified: > >circ/waitingreservers.pl - added GetFirstValidEmailAddress > > >Testing: > >I Apply the patch > >0) Put an item in hold for pickup; >1) In Circulation -> Holds awaiting pickup, validate email (column Patron); >--- > circ/waitingreserves.pl | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > >diff --git a/circ/waitingreserves.pl b/circ/waitingreserves.pl >index fb7a3d1..e37af6d 100755 >--- a/circ/waitingreserves.pl >+++ b/circ/waitingreserves.pl >@@ -128,10 +128,13 @@ foreach my $num (@getreserves) { > $getreserv{'borrowername'} = $getborrower->{'surname'}; > $getreserv{'borrowerfirstname'} = $getborrower->{'firstname'}; > $getreserv{'borrowerphone'} = $getborrower->{'phone'}; >- if ( $getborrower->{'emailaddress'} ) { >- $getreserv{'borrowermail'} = $getborrower->{'emailaddress'}; >+ >+ my $borEmail = GetFirstValidEmailAddress( $borrowernum ); >+ >+ if ( $borEmail ) { >+ $getreserv{'borrowermail'} = $borEmail; > } >- >+ > if ($today > $calcDate) { > if ($cancelall) { > my $res = cancel( $itemnumber, $borrowernum, $holdingbranch, $homebranch, !$transfer_when_cancel_all ); >-- >1.9.1
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 12523
:
29469
|
30468
|
30492