@@ -, +, @@ filters --- C4/Biblio.pm | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) --- a/C4/Biblio.pm +++ a/C4/Biblio.pm @@ -3099,9 +3099,9 @@ sub _koha_delete_biblio_metadata { =head1 UNEXPORTED FUNCTIONS -=head2 Update005Time +=head2 UpdateMarcTimestamp - &Update005Time( $record ); + &UpdateMarcTimestamp( $record ); Updates the 005 timestamp of the given record to the current time. --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc @@ -48,8 +48,8 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr checked: false, }, [%- FOREACH batch = editable_batches -%] - 'batch:[% batch.import_batch_id %]': { - name: _("Batch: ") + `[% batch.file_name %]`, + 'batch:[% batch.import_batch_id | $raw %]': { + name: _("Batch: ") + `[% batch.file_name | html %]`, recordtype: 'biblio', checked: false, }, @@ -346,8 +346,8 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr var editable_batches = { [%- FOREACH batch = editable_batches -%] - [% batch.import_batch_id %]: { - 'name': `[% batch.file_name %]`, + [% batch.import_batch_id | $raw %]: { + 'name': `[% batch.file_name | html %]`, }, [%- END -%] }; @@ -826,7 +826,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr $( document ).on( 'change', 'input.save-toggle-target', function() { var target_id = $( this ).data('target-id'); Preferences.user.selected_save_targets[target_id] = this.checked; - Preferences.Save( [% loggelogged_in_user.borrowernumber %] ); + Preferences.Save( [% loggelogged_in_user.borrowernumber | $raw %] ); } ); break; case 'selected_search_targets': --