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

(-)a/installer/data/mysql/atomicupdate/bug_29980_-_add_ValidateISBN_syspref.pl (+12 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => "29980",
5
    description => "Add inew system preference ValidateISBN",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
10
        $dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('ValidateISBN', '0', NULL, 'If enabled, Koha will check and validate ISBNs when cataloguing bibliographic records', 'YesNo') });
11
    },
12
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 733-738 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
733
('UseRecalls','0',NULL,'Enable or disable recalls','YesNo'),
733
('UseRecalls','0',NULL,'Enable or disable recalls','YesNo'),
734
('UseTransportCostMatrix','0','','Use Transport Cost Matrix when filling holds','YesNo'),
734
('UseTransportCostMatrix','0','','Use Transport Cost Matrix when filling holds','YesNo'),
735
('UseWYSIWYGinSystemPreferences','0','','Show WYSIWYG editor when editing certain HTML system preferences.','YesNo'),
735
('UseWYSIWYGinSystemPreferences','0','','Show WYSIWYG editor when editing certain HTML system preferences.','YesNo'),
736
('ValidateISBN', '0', NULL, 'If enabled, Koha will check and validate ISBNs when cataloguing bibliographic records', 'YesNo')
736
('viewISBD','1','','Allow display of ISBD view of bibiographic records','YesNo'),
737
('viewISBD','1','','Allow display of ISBD view of bibiographic records','YesNo'),
737
('viewLabeledMARC','0','','Allow display of labeled MARC view of bibiographic records','YesNo'),
738
('viewLabeledMARC','0','','Allow display of labeled MARC view of bibiographic records','YesNo'),
738
('viewMARC','1','','Allow display of MARC view of bibiographic records','YesNo'),
739
('viewMARC','1','','Allow display of MARC view of bibiographic records','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref (-1 / +6 lines)
Lines 165-170 Cataloging: Link Here
165
            - and record's last modifier name in MARC subfield
165
            - and record's last modifier name in MARC subfield
166
            - pref: MarcFieldForModifierName
166
            - pref: MarcFieldForModifierName
167
            - ". <br/><strong>NOTE:</strong> Use a dollar sign between field and subfield like 123$a."
167
            - ". <br/><strong>NOTE:</strong> Use a dollar sign between field and subfield like 123$a."
168
        -
169
            - pref: ValidateISBN
170
              choices:
171
                  1: Validate
172
                  0: "Don't validate"
173
            - international standard book numbers (ISBNs) when cataloguing bibliographic records. Checks will be done on 020$a (MARC21) or 010$a (UNIMARC).
168
    Display:
174
    Display:
169
        -
175
        -
170
            - 'Separate main entry and subdivisions with '
176
            - 'Separate main entry and subdivisions with '
171
- 

Return to bug 29980