Bugzilla – Attachment 183316 Details for
Bug 40118
Regression - 'Holds to pull' library filters don't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40118: Trim again after splitting
Bug-40118-Trim-again-after-splitting.patch (text/plain), 1.10 KB, created by
Paul Derscheid
on 2025-06-18 07:43:04 UTC
(
hide
)
Description:
Bug 40118: Trim again after splitting
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2025-06-18 07:43:04 UTC
Size:
1.10 KB
patch
obsolete
>From c298d1bdb2266920ac733cb98768ceb6ff5321ba Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@openfifth.co.uk> >Date: Wed, 11 Jun 2025 13:21:29 +0000 >Subject: [PATCH] Bug 40118: Trim again after splitting > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 a812fe2d5ed..af828b6ec63 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())]; > >-- >2.50.0
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 40118
:
183161
|
183162
|
183164
|
183169
|
183170
|
183280
|
183281
|
183282
| 183316 |
183317
|
183318