Bugzilla – Attachment 140031 Details for
Bug 31496
SCO slip uses data of patron's home library instead of the SCO staff users's library
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31496: Fix branch in printslip.pl to signed in staff id's branch
0001-Bug-31496-Fix-branch-in-printslip.pl-to-signed-in-st.patch (text/plain), 889 bytes, created by
Lari Strand
on 2022-09-01 06:48:33 UTC
(
hide
)
Description:
Bug 31496: Fix branch in printslip.pl to signed in staff id's branch
Filename:
MIME Type:
Creator:
Lari Strand
Created:
2022-09-01 06:48:33 UTC
Size:
889 bytes
patch
obsolete
>From d6a4de4591ee6ed1ccf0d122b07cac7d25b3763a Mon Sep 17 00:00:00 2001 >From: lmstrand <lmstrand@gmail.com> >Date: Wed, 31 Aug 2022 15:39:42 +0300 >Subject: [PATCH] Bug 31496: Fix branch in printslip.pl to signed in staff id's > branch > >--- > opac/sco/printslip.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/sco/printslip.pl b/opac/sco/printslip.pl >index ae0f58314a..adac4dff2f 100755 >--- a/opac/sco/printslip.pl >+++ b/opac/sco/printslip.pl >@@ -80,7 +80,7 @@ my $print = $input->param('print'); > my $error = $input->param('error'); > > my ($slip, $is_html); >-if (my $letter = IssueSlip ($patron->branchcode, $patron->borrowernumber, $print eq "qslip")) { >+if (my $letter = IssueSlip (Koha::Patrons->find( $loggedinuser )->branchcode, $patron->borrowernumber, $print eq "qslip")) { > $slip = $letter->{content}; > $is_html = $letter->{is_html}; > } >-- >2.25.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 31496
:
140003
|
140031
|
140267
|
140961