@@ -, +, @@
---
koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js
+++ a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js
@@ -1010,8 +1010,13 @@ $(document).ready(function() {
{
"sClass": "return-claim-notes-td",
"mDataProp": function ( oObj ) {
- return '' + oObj.notes + ''
- + '';
+ let notes = '';
+ if ( oObj.notes ) {
+ notes += oObj.notes;
+ }
+ notes += '';
+ notes += '';
+ return notes;
}
},
{
--