Bugzilla – Attachment 156695 Details for
Bug 33845
Hold notes should show when viewing a patron's hold list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33845: (follow-up) escape hold notes for display
Bug-33845-follow-up-escape-hold-notes-for-display.patch (text/plain), 1.19 KB, created by
Katrin Fischer
on 2023-10-07 18:19:26 UTC
(
hide
)
Description:
Bug 33845: (follow-up) escape hold notes for display
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-10-07 18:19:26 UTC
Size:
1.19 KB
patch
obsolete
>From 2502734a2b1647837d2b3324fc2635874bec3876 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 26 May 2023 12:41:05 +0000 >Subject: [PATCH] Bug 33845: (follow-up) escape hold notes for display > >Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/js/holds.js | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js >index e2bd4401d3..c07380df20 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/holds.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js >@@ -233,7 +233,11 @@ $(document).ready(function() { > } > } > }, >- { "data": "reservenotes" }, >+ { >+ "mDataProp": function( oObj ) { >+ return oObj.reservenotes && oObj.reservenotes.escapeHtml() || ""; >+ } >+ }, > { > "bSortable": false, > "mDataProp": function( oObj ) { >-- >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 33845
:
151754
|
151755
|
151756
|
151757
|
151765
|
151766
|
151767
|
151768
|
152046
|
156416
|
156417
|
156418
|
156419
|
156420
|
156421
|
156692
|
156693
|
156694
| 156695 |
156696
|
156697