Bugzilla – Attachment 60047 Details for
Bug 17782
Patron updated_on field should be set to current timestamp when borrower is deleted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[3.22.x] Bug 17782: deletedborrowers.updated_on should be set to current timestamp
Bug-17782-deletedborrowersupdatedon-should-be-set-.patch (text/plain), 723 bytes, created by
Julian Maurice
on 2017-02-09 09:52:32 UTC
(
hide
)
Description:
[3.22.x] Bug 17782: deletedborrowers.updated_on should be set to current timestamp
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2017-02-09 09:52:32 UTC
Size:
723 bytes
patch
obsolete
>From 03c5625371cca27acb7428b51a6cb0e436259295 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Thu, 9 Feb 2017 10:51:24 +0100 >Subject: [PATCH] Bug 17782: deletedborrowers.updated_on should be set to > current timestamp > >--- > C4/Members.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/C4/Members.pm b/C4/Members.pm >index f832b08e2d..fe40188849 100644 >--- a/C4/Members.pm >+++ b/C4/Members.pm >@@ -1778,6 +1778,8 @@ sub MoveMemberToDeleted { > my $borrower = $borrowers_rs->find($member); > return unless $borrower; > >+ delete $borrower->{updated_on}; >+ > my $deleted = $schema->resultset('Deletedborrower')->create($borrower); > > return $deleted ? 1 : undef; >-- >2.11.0
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 17782
:
58203
|
58890
|
58913
|
59558
|
59573
|
59583
|
59605
|
59606
|
59607
| 60047