View | Details | Raw Unified | Return to bug 34519
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-2 / +1 lines)
Lines 233-239 Link Here
233
        }, {});
233
        }, {});
234
234
235
        [% IF Koha.Preference('ExtendedPatronAttributes') %]
235
        [% IF Koha.Preference('ExtendedPatronAttributes') %]
236
            [% SET extended_attribute_types = ExtendedAttributeTypes.codes( staff_searchable => 1 ) %]
236
            [% SET extended_attribute_types = [ ExtendedAttributeTypes.codes( staff_searchable => 1 ) ] %]
237
            let extended_attribute_types = [% To.json(extended_attribute_types || []) | $raw %];
237
            let extended_attribute_types = [% To.json(extended_attribute_types || []) | $raw %];
238
        [% END %]
238
        [% END %]
239
239
240
- 

Return to bug 34519