Bugzilla – Attachment 128946 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), 949 bytes, created by
Katrin Fischer
on 2022-01-02 15:48:39 UTC
(
hide
)
Description:
Bug 29544: Ensure logged in user is allowed to modify checkout note
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-01-02 15:48:39 UTC
Size:
949 bytes
patch
obsolete
>From 6ae908a1566b734c2f76d6870e12d54633ad8924 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 > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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 4e95e260a6..c0678db2fc 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.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 29544
:
127930
|
128148
|
128946
|
128947
|
129336
|
129337
|
129338