Bugzilla – Attachment 177250 Details for
Bug 37211
All notes in the patron Transactions table should be editable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37211: (QA follow-up) Don't reset creation date on update
Bug-37211-QA-follow-up-Dont-reset-creation-date-on.patch (text/plain), 1.09 KB, created by
Martin Renvoize (ashimema)
on 2025-01-28 10:40:49 UTC
(
hide
)
Description:
Bug 37211: (QA follow-up) Don't reset creation date on update
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-01-28 10:40:49 UTC
Size:
1.09 KB
patch
obsolete
>From 79fa9fd666afd0bd6f24584f4ab347ce5a35c723 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 28 Jan 2025 09:50:54 +0000 >Subject: [PATCH] Bug 37211: (QA follow-up) Don't reset creation date on update > >We shouldn't be resetting an accountlines creation date when we update >the associated note. We have 'timestamp' for updates already. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > members/boraccount.pl | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/members/boraccount.pl b/members/boraccount.pl >index 844c83554b4..bf20643a1e0 100755 >--- a/members/boraccount.pl >+++ b/members/boraccount.pl >@@ -233,10 +233,9 @@ if ( $op eq 'cud-edit_note' ) { > my $payment = Koha::Account::Lines->find($payment_id); > $schema->txn_do( > sub { >- # Update the note and date in the account line >+ # Update the note in the account line > $payment->set( > { >- date => \'NOW()', > note => $note > } > )->store(); >-- >2.48.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 37211
:
168211
|
168212
|
170002
|
170003
|
170218
|
170219
|
177244
|
177245
|
177248
|
177249
| 177250 |
177251
|
177252
|
177261