Bugzilla – Attachment 85274 Details for
Bug 3820
More detailed patron record changes log
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 3820: (follow-up) Address lastseen log spamming
Bug-3820-follow-up-Address-lastseen-log-spamming.patch (text/plain), 1.34 KB, created by
Martin Renvoize (ashimema)
on 2019-02-19 12:40:52 UTC
(
hide
)
Description:
Bug 3820: (follow-up) Address lastseen log spamming
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-02-19 12:40:52 UTC
Size:
1.34 KB
patch
obsolete
>From 9ad4aec4cbdb5970e2319c90cd5f45f4f1e87828 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 19 Feb 2019 12:37:14 +0000 >Subject: [PATCH] Bug 3820: (follow-up) Address lastseen log spamming > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Patron.pm | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > >diff --git a/Koha/Patron.pm b/Koha/Patron.pm >index c2b4738a34..cea2f8eea1 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -260,7 +260,9 @@ sub store { > my $info; > my $from_storage = $self_from_storage->unblessed; > my $from_object = $self->unblessed; >+ my @skip_fields = (qw/lastseen/); > for my $key ( keys %{$from_storage} ) { >+ next if any { /$key/ } @skip_fields; > if ( > ( > !defined( $from_storage->{$key} ) >@@ -294,11 +296,6 @@ sub store { > ) > ); > } >- else { >- logaction( "MEMBERS", "MODIFY", $self->borrowernumber, >- "NON-STANDARD FIELD CHANGED" ); >- >- } > } > > # Final store >-- >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 3820
:
1584
|
1585
|
85100
|
85102
|
85103
|
85104
|
85161
|
85162
|
85196
|
85197
|
85243
|
85244
|
85245
|
85246
|
85256
|
85257
|
85258
|
85259
|
85260
|
85269
|
85270
|
85271
|
85272
|
85273
|
85274
|
85276
|
85277