Bugzilla – Attachment 158425 Details for
Bug 34519
Add a template plugin for ExtendedAttributeTypes to fetch searchable patron attributes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34519: Ensure we always have an array
Bug-34519-Ensure-we-always-have-an-array.patch (text/plain), 1.16 KB, created by
Katrin Fischer
on 2023-11-05 00:58:43 UTC
(
hide
)
Description:
Bug 34519: Ensure we always have an array
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-11-05 00:58:43 UTC
Size:
1.16 KB
patch
obsolete
>From 41d0590499b0337c6a9959fb72444478a85da365 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 11 Aug 2023 16:43:14 +0000 >Subject: [PATCH] Bug 34519: Ensure we always have an array > >Signed-off-by: Janusz Kaczmarek <januszop@gmail.com> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >index f752b88fbd..36e58d10dd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -233,7 +233,7 @@ > }, {}); > > [% IF Koha.Preference('ExtendedPatronAttributes') %] >- [% SET extended_attribute_types = ExtendedAttributeTypes.codes( staff_searchable => 1 ) %] >+ [% SET extended_attribute_types = [ ExtendedAttributeTypes.codes( staff_searchable => 1 ) ] %] > let extended_attribute_types = [% To.json(extended_attribute_types || []) | $raw %]; > [% END %] > >-- >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 34519
:
154375
|
154376
|
154384
|
154641
|
154646
|
154647
|
154648
|
154649
|
157649
|
157650
|
157651
|
157652
|
158423
|
158424
| 158425 |
158426