No idea why we need that.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Séverine Queune <severine.queune@bulac.fr>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
}, {});
[% IF Koha.Preference('ExtendedPatronAttributes') %]
- let extended_attribute_types = [% To.json(attribute_type_codes) | $raw %];
+ let extended_attribute_types = [% To.json(attribute_type_codes || []) | $raw %];
[% END %]
</script>
[% INCLUDE 'datatables.inc' %]