Bugzilla – Attachment 192398 Details for
Bug 41761
Updating accountlines note sets accountlines.date to current date
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41761: Do not update accountlines.date when editing a note
Bug-41761-Do-not-update-accountlinesdate-when-edit.patch (text/plain), 1.11 KB, created by
Andrew Fuerste-Henry
on 2026-02-03 21:58:39 UTC
(
hide
)
Description:
Bug 41761: Do not update accountlines.date when editing a note
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2026-02-03 21:58:39 UTC
Size:
1.11 KB
patch
obsolete
>From c8ebd23d0b440197d551022c5732bf07fc8000b6 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 3 Feb 2026 20:10:18 +0000 >Subject: [PATCH] Bug 41761: Do not update accountlines.date when editing a > note > >To test: >0. APPLY PATCH, restart_all >1. Create an accountline and make note of the accountline.date >2. On that accoutnline edit the note. >3. Confirm that the accountline.date does NOT update. > >Signed-off-by: Juliet Heltibridle <jheltibridle@rcplib.org> >--- > members/boraccount.pl | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) > >diff --git a/members/boraccount.pl b/members/boraccount.pl >index 7d99a85e250..19b6f8d7313 100755 >--- a/members/boraccount.pl >+++ b/members/boraccount.pl >@@ -238,12 +238,7 @@ if ( $op eq 'cud-edit_note' ) { > $schema->txn_do( > sub { > # Update the note and date in the account line >- $payment->set( >- { >- date => \'NOW()', >- note => $note >- } >- )->store(); >+ $payment->set( { note => $note } )->store(); > } > ); > } >-- >2.39.5
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 41761
:
192397
| 192398