@@ -, +, @@ update file --- .../bug_24108-add_SaveRecordbyControlNumber_syspref.sql | 10 +++++++++- .../prog/en/modules/admin/preferences/cataloguing.pref | 8 ++++---- 2 files changed, 13 insertions(+), 5 deletions(-) --- a/installer/data/mysql/atomicupdate/bug_24108-add_SaveRecordbyControlNumber_syspref.sql +++ a/installer/data/mysql/atomicupdate/bug_24108-add_SaveRecordbyControlNumber_syspref.sql @@ -1, +1,9 @@ -NSERT IGNORE INTO systempreferences (variable, value, explanation, options, type) VALUES ('SaveRecordbyControlNumber', '0', 'If set, advanced editor (Rancor) will use the control number field to populate the name of the save file, otherwise it uses the biblionumber.', NULL, 'YesNo'); +$DBversion = 'XXX'; +if( CheckVersion( $DBversion ) ) { + $dbh->do(q{ + INSERT IGNORE INTO systempreferences + (variable, value, explanation, options, type) VALUES + ('SaveRecordbyControlNumber', '0', 'If set, advanced cataloging editor will use the control number field to populate the name of the save file, otherwise it uses the biblionumber.', NULL, 'YesNo') + }); + NewVersion( $DBversion, 24108, "Add system preference SaveRecordbyControlNumber"); +} --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref @@ -28,14 +28,14 @@ Cataloging: - "
NOTE:" - Currently does not include support for UNIMARC or NORMARC fixed fields. - - - "When saving in a MARC/MARCXML file in the advanced editor (Rancor), use the" + - "When saving in a MARC/MARCXML file in the advanced cataloging editor, use the" - pref: SaveRecordbyControlNumber default: 0 choices: yes: Enable - yes: "Save by controlnumber" - no: "Save by biblionumber" - - "in the file name. Default is by biblionumer." + yes: "control number" + no: "record number" + - "in the file name. The default is to use the bibliographic record number." Spine labels: - - When using the quick spine label printer, --