Bugzilla – Attachment 128030 Details for
Bug 29457
Fee Cancellation records the wrong manager_id
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29457: Pass context borrowernumber
Bug-29457-Pass-context-borrowernumber.patch (text/plain), 1.10 KB, created by
Martin Renvoize (ashimema)
on 2021-11-26 10:29:45 UTC
(
hide
)
Description:
Bug 29457: Pass context borrowernumber
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-11-26 10:29:45 UTC
Size:
1.10 KB
patch
obsolete
>From 03b43bdd35fc58e8d502c100cc4b49f79dd12d4e Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 11 Nov 2021 10:56:45 +0000 >Subject: [PATCH] Bug 29457: Pass context borrowernumber >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch updates the call to cancel such that we pass the currently >logged in users borrowernumber instead of their userid. > >Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi> >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > members/cancel-charge.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/cancel-charge.pl b/members/cancel-charge.pl >index 2f5ff42514..5483342863 100755 >--- a/members/cancel-charge.pl >+++ b/members/cancel-charge.pl >@@ -50,7 +50,7 @@ my $charge = Koha::Account::Lines->find($accountlines_id); > $charge->cancel( > { > branch => C4::Context->userenv->{'branch'}, >- staff_id => $user >+ staff_id => C4::Context->userenv->{'number'} > } > ); > >-- >2.20.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 29457
:
127527
|
127596
|
127739
|
128024
|
128025
|
128030
|
128031
|
128032
|
128207
|
128208
|
128649
|
128650
|
128651