Bugzilla – Attachment 151768 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.14 KB, created by
Andrew Fuerste-Henry
on 2023-05-26 15:54:44 UTC
(
hide
)
Description:
Bug 33845: (follow-up) escape hold notes for display
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2023-05-26 15:54:44 UTC
Size:
1.14 KB
patch
obsolete
>From 8146b3b5733f72296a8b732f8b0adcd465b8b364 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> >--- > 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 3daf05fa65..9dff614d06 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