View | Details | Raw Unified | Return to bug 24108
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_24108-add_SaveRecordbyControlNumber_syspref.sql (-1 / +9 lines)
Line 1 Link Here
1
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');
1
$DBversion = 'XXX';
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do(q{
4
         INSERT IGNORE INTO systempreferences
5
         (variable, value, explanation, options, type) VALUES
6
         ('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')
7
    });
8
    NewVersion( $DBversion, 24108, "Add system preference SaveRecordbyControlNumber");
9
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref (-5 / +4 lines)
Lines 28-41 Cataloging: Link Here
28
            - "<br/> <strong>NOTE:</strong>"
28
            - "<br/> <strong>NOTE:</strong>"
29
            - Currently does not include support for UNIMARC or NORMARC fixed fields.
29
            - Currently does not include support for UNIMARC or NORMARC fixed fields.
30
        -
30
        -
31
            - "When saving in a MARC/MARCXML file in the advanced editor (Rancor), use the"
31
            - "When saving in a MARC/MARCXML file in the advanced cataloging editor, use the"
32
            - pref: SaveRecordbyControlNumber
32
            - pref: SaveRecordbyControlNumber
33
              default: 0
33
              default: 0
34
              choices:
34
              choices:
35
                  yes: Enable
35
                  yes: Enable
36
                  yes: "Save by controlnumber"
36
                  yes: "control number"
37
                  no: "Save by biblionumber"
37
                  no: "record number"
38
            - "in the file name. Default is by biblionumer."
38
            - "in the file name. The default is to use the bibliographic record number."
39
    Spine labels:
39
    Spine labels:
40
        -
40
        -
41
            - When using the quick spine label printer,
41
            - When using the quick spine label printer,
42
- 

Return to bug 24108