Bugzilla – Attachment 127930 Details for
Bug 29544
A patron can set everybody's checkout notes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29544: Ensure logged in user is allowed to modify checkout note
Bug-29544-Ensure-logged-in-user-is-allowed-to-modi.patch (text/plain), 894 bytes, created by
Jonathan Druart
on 2021-11-22 13:57:51 UTC
(
hide
)
Description:
Bug 29544: Ensure logged in user is allowed to modify checkout note
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-11-22 13:57:51 UTC
Size:
894 bytes
patch
obsolete
>From 1f4236c1d6eabf61bd09014f01ff0b916886dbae Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 22 Nov 2021 14:56:58 +0100 >Subject: [PATCH] Bug 29544: Ensure logged in user is allowed to modify > checkout note > >--- > opac/svc/checkout_notes | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/svc/checkout_notes b/opac/svc/checkout_notes >index 4e95e260a64..c0678db2fc8 100755 >--- a/opac/svc/checkout_notes >+++ b/opac/svc/checkout_notes >@@ -75,7 +75,7 @@ if ($is_ajax) { > } > } > >- if ( $issue ) { >+ if ( $issue && $status eq "saved" ) { > $issue->set({ notedate => dt_from_string(), note => $clean_note, noteseen => 0 })->store; > if($clean_note) { # only send email if note not empty > my $branch = Koha::Libraries->find( $issue->branchcode ); >-- >2.25.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 29544
:
127930
|
128148
|
128946
|
128947
|
129336
|
129337
|
129338