diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt index a812fe2d5e..af828b6ec6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt @@ -298,7 +298,7 @@ let options = [... new Set(column .data() .toArray() - .map(d => d.replace(regex, '').trim().split(/\n/gi).flat()) + .map(d => d.replace(regex, '').trim().split(/\n/gi).map(s => s.trim()).flat()) .flat() .sort())];