Bugzilla – Attachment 148770 Details for
Bug 33285
It should be possible to specify the separator used in runreport.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33284: Set renewer_id appropriately for anonymize settings
Bug-33284-Set-renewerid-appropriately-for-anonymiz.patch (text/plain), 1.08 KB, created by
Andrew Fuerste-Henry
on 2023-03-27 13:33:23 UTC
(
hide
)
Description:
Bug 33284: Set renewer_id appropriately for anonymize settings
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2023-03-27 13:33:23 UTC
Size:
1.08 KB
patch
obsolete
>From 23aaaf12e53e5d41bb08668212cf6a63c9432241 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 21 Mar 2023 14:08:05 +0000 >Subject: [PATCH] Bug 33284: Set renewer_id appropriately for anonymize > settings > >This patch adds a trigger into the anonymize function of >Koha::Old::Checkout such that we pass along the anonymize action to the >renewals record. > >Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> > >https://bugs.koha-community.org/show_bug.cgi?id=33285 >--- > Koha/Old/Checkout.pm | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/Koha/Old/Checkout.pm b/Koha/Old/Checkout.pm >index 2967a78afe..0093ae0d1b 100644 >--- a/Koha/Old/Checkout.pm >+++ b/Koha/Old/Checkout.pm >@@ -136,6 +136,9 @@ sub anonymize { > Koha::Exceptions::SysPref::NotSet->throw( syspref => 'AnonymousPatron' ) > unless $anonymous_id; > >+ my $self_renewals = $self->renewals->search( { renewer_id => $self->borrowernumber } ); >+ $self_renewals->update( { renewer_id => $anonymous_id } ); >+ > return $self->update( { borrowernumber => $anonymous_id } ); > } > >-- >2.30.2
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 33285
:
148435
|
148769
|
148770
|
148771
|
148775
|
149058
|
149059