From 7a9113171d31dbce60dcb1976d2dd9419590f378 Mon Sep 17 00:00:00 2001 From: John Doe Date: Tue, 1 Dec 2020 18:45:50 +0000 Subject: [PATCH] Bug 24108: Advanced editor: configure if biblionumber or control number is used for saved files Fix typo with .xml extension Signed-off-by: David Nind --- koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc index 3df661aba7..73ba76dd8d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc @@ -308,9 +308,9 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr 'marcxml': { saveLabel: _("Save as MARCXML (.xml) file"), save: function( id, record, done ) { - var recname = 'record.mrc'; + var recname = 'record.xml'; if(state.recordID) { - recname = state.recordID+'.mrc'; + recname = state.recordID+'.xml'; } [% IF (Koha.Preference('SaveRecordbyControlNumber') == '1') %] -- 2.11.0