Bugzilla – Attachment 9535 Details for
Bug 8009
Item descriptive data not populated on pay.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8009: Item descriptive data not populated on pay.pl
Bug-8009-Item-descriptive-data-not-populated-on-pa.patch (text/plain), 1.15 KB, created by
Jared Camins-Esakov
on 2012-05-13 12:06:34 UTC
(
hide
)
Description:
Bug 8009: Item descriptive data not populated on pay.pl
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2012-05-13 12:06:34 UTC
Size:
1.15 KB
patch
obsolete
>From aae38477c019d211301447661eda2d1cd9ba00a2 Mon Sep 17 00:00:00 2001 >From: D Ruth Bavousett <ruth@bywatersolutions.com> >Date: Wed, 25 Apr 2012 06:06:31 -0700 >Subject: [PATCH] Bug 8009: Item descriptive data not populated on pay.pl >Content-Type: text/plain; charset="UTF-8" > >GetBorNotifyAcctRecord was not populating the {title} element of the >hash, which pay.tt will use. > >Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> >--- > C4/Members.pm | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > >diff --git a/C4/Members.pm b/C4/Members.pm >index 6161ac9..210d6fb 100644 >--- a/C4/Members.pm >+++ b/C4/Members.pm >@@ -1184,6 +1184,11 @@ sub GetBorNotifyAcctRecord { > $sth->execute( $borrowernumber, $notifyid ); > my $total = 0; > while ( my $data = $sth->fetchrow_hashref ) { >+ if ( $data->{itemnumber} ) { >+ my $biblio = GetBiblioFromItemNumber( $data->{itemnumber} ); >+ $data->{biblionumber} = $biblio->{biblionumber}; >+ $data->{title} = $biblio->{title}; >+ } > $acctlines[$numlines] = $data; > $numlines++; > $total += int(100 * $data->{'amountoutstanding'}); >-- >1.7.2.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 8009
:
9295
| 9535 |
9585
|
9592