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

(-)a/installer/data/mysql/atomicupdate/bug_42044.pl (+17 lines)
Line 0 Link Here
1
use Modern::Perl;
2
use Koha::Installer::Output qw(say_warning say_success say_info);
3
4
return {
5
    bug_number  => "42044",
6
    description => "New system preference 'AutoUpdateRecordStatus'",
7
    up          => sub {
8
        my ($args) = @_;
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
10
11
        $dbh->do(
12
            q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('AutoUpdateRecordStatus','0',NULL,'Automatically update record status (LDR/5) when modifying a record','YesNo')}
13
        );
14
15
        say $out "Added new system preference 'AutoUpdateRecordStatus'";
16
    },
17
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 114-119 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
114
('AutoSelfCheckPass','',NULL,'Password to be used for automatic web-based self-check. Only applies if AutoSelfCheckAllowed syspref is turned on.','Free'),
114
('AutoSelfCheckPass','',NULL,'Password to be used for automatic web-based self-check. Only applies if AutoSelfCheckAllowed syspref is turned on.','Free'),
115
('AutoShareWithMana','subscription',NULL,'defines datas automatically shared with mana','multiple'),
115
('AutoShareWithMana','subscription',NULL,'defines datas automatically shared with mana','multiple'),
116
('AutoSwitchPatron', '0', NULL, 'Auto switch to patron', 'YesNo'),
116
('AutoSwitchPatron', '0', NULL, 'Auto switch to patron', 'YesNo'),
117
('AutoUpdateRecordStatus','0',NULL,'Automatically update record status (LDR/5) when modifying a record','YesNo'),
117
('Babeltheque','0',NULL,'Turn ON Babeltheque content - See babeltheque.com to subscribe to this service','YesNo'),
118
('Babeltheque','0',NULL,'Turn ON Babeltheque content - See babeltheque.com to subscribe to this service','YesNo'),
118
('Babeltheque_url_js','',NULL,'Url for Babeltheque javascript (e.g. http://www.babeltheque.com/bw_XX.js)','Free'),
119
('Babeltheque_url_js','',NULL,'Url for Babeltheque javascript (e.g. http://www.babeltheque.com/bw_XX.js)','Free'),
119
('Babeltheque_url_update','',NULL,'Url for Babeltheque update (E.G. http://www.babeltheque.com/.../file.csv.bz2)','Free'),
120
('Babeltheque_url_update','',NULL,'Url for Babeltheque update (E.G. http://www.babeltheque.com/.../file.csv.bz2)','Free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref (-1 / +6 lines)
Lines 217-222 Cataloging: Link Here
217
                  1: Strip
217
                  1: Strip
218
                  0: "Don't strip"
218
                  0: "Don't strip"
219
            - leading and trailing whitespace characters (including spaces, tabs, line breaks and carriage returns) and inner newlines from data fields when cataloguing bibliographic and authority records. The leader and control fields will not be affected.
219
            - leading and trailing whitespace characters (including spaces, tabs, line breaks and carriage returns) and inner newlines from data fields when cataloguing bibliographic and authority records. The leader and control fields will not be affected.
220
        -
221
            - pref: AutoUpdateRecordStatus
222
              choices:
223
                  1: Do
224
                  0: "Don't"
225
            - automatically update record status (LDR/5) when modifying a record.
220
    Display:
226
    Display:
221
        -
227
        -
222
            - 'Separate main entry and subdivisions with '
228
            - 'Separate main entry and subdivisions with '
223
- 

Return to bug 42044