@@ -, +, @@ - Create a z39.50 target containing an apostrophe in the title - Note that the Advanced Cataloguer editor does not load - Apply the patch - TEST: Note that the Advanced Cataloguer editor does load --- koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc @@ -40,8 +40,10 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr checked: false, }, [%- FOREACH server = z3950_servers -%] + [% s_name = server.servername %] + [% s_name.replace('\'', ''') %] [% server.id | html %]: { - name: '[% server.servername | html %]', + name: '[% s_name | html %]', recordtype: '[% server.recordtype | html %]', checked: [% server.checked ? 'true' : 'false' | html %], }, --