Bugzilla – Attachment 163586 Details for
Bug 19613
Scrub borrowers fields: borrowernotes opacnote
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19613: Use the 'note' profile
Bug-19613-Use-the-note-profile.patch (text/plain), 913 bytes, created by
David Cook
on 2024-03-21 01:02:00 UTC
(
hide
)
Description:
Bug 19613: Use the 'note' profile
Filename:
MIME Type:
Creator:
David Cook
Created:
2024-03-21 01:02:00 UTC
Size:
913 bytes
patch
obsolete
>From 17b2a3762f4d0b6dbe2a6c76d140a316aa20a345 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 20 Mar 2024 08:35:29 +0100 >Subject: [PATCH] Bug 19613: Use the 'note' profile > >Signed-off-by: David Cook <dcook@prosentient.com.au> >--- > Koha/Patron.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Patron.pm b/Koha/Patron.pm >index 97e5380fb7c..8600fefbf05 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -234,7 +234,7 @@ sub store { > > for my $note_field ( qw( borrowernotes opacnote ) ) { > if ( !$self->in_storage || $self->_result->is_column_changed($note_field) ) { >- $self->$note_field(C4::Scrubber->new('comment')->scrub($self->$note_field)); >+ $self->$note_field(C4::Scrubber->new('note')->scrub($self->$note_field)); > } > } > >-- >2.30.2
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 19613
:
69104
|
69109
|
163194
|
163498
|
163585
|
163586
|
164211
|
164212