Bug 33568: public notes

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Laurence Rault <laurence.rault@biblibre.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2023-04-18 15:18:28 +02:00 committed by Katrin Fischer
parent b8c51e998f
commit 833f47fb75
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -2875,7 +2875,7 @@
searchable: true,
orderable: true,
render: function (data, type, row, meta) {
return row.public_notes; // FIXME Replace \n with br
return row.public_notes ? row.public_notes.replaceAll('\n', '<br />') : '';
}
},
{