Bugzilla – Attachment 39703 Details for
Bug 12066
New renew page in staff client doesn't record branch in statistics
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 12066: New renew page in staff client doesn't record branch in statistics
SIGNED-OFF-Bug-12066-New-renew-page-in-staff-clien.patch (text/plain), 1.21 KB, created by
Bernardo Gonzalez Kriegel
on 2015-05-29 18:21:44 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 12066: New renew page in staff client doesn't record branch in statistics
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2015-05-29 18:21:44 UTC
Size:
1.21 KB
patch
obsolete
>From 400552f617947cd7430e6a513be3668572718441 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 20 May 2015 11:31:18 -0400 >Subject: [PATCH] [SIGNED-OFF] Bug 12066: New renew page in staff client > doesn't record branch in statistics > >Test Plan: >1) Apply this patch >2) Renew an item via circ/renew.pl >3) Note the branch code of your logged in library is set as the > branch in the generated statistic line > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Tested pre and post patch, now branch is saved >No errors >--- > circ/renew.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/circ/renew.pl b/circ/renew.pl >index 180c881..28301dc 100755 >--- a/circ/renew.pl >+++ b/circ/renew.pl >@@ -83,7 +83,8 @@ if ($barcode) { > ); > } > if ($can_renew) { >- my $date_due = AddRenewal( undef, $item->itemnumber() ); >+ my $branchcode = C4::Context->userenv ? C4::Context->userenv->{'branch'} : undef; >+ my $date_due = AddRenewal( undef, $item->itemnumber(), $branchcode ); > $template->param( date_due => $date_due ); > } > } >-- >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 12066
:
39351
|
39703
|
39722