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

(-)a/installer/data/mysql/atomicupdate/bug_22996.perl (+6 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do( q/INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES (?, ?, ?, ?, ?)/, undef, 'BarcodeSeparators','\s\r\n','','Splitting characters for barcodes','Free' );
4
    SetVersion( $DBversion );
5
    print "Upgrade to $DBversion done (Bug 22996 - Add pref BarcodeSeparators)\n";
6
}
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 85-90 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
85
('BakerTaylorEnabled','0','','Enable or disable all Baker & Taylor features.','YesNo'),
85
('BakerTaylorEnabled','0','','Enable or disable all Baker & Taylor features.','YesNo'),
86
('BakerTaylorPassword','','','Baker & Taylor Password for Content Cafe (external content)','Free'),
86
('BakerTaylorPassword','','','Baker & Taylor Password for Content Cafe (external content)','Free'),
87
('BakerTaylorUsername','','','Baker & Taylor Username for Content Cafe (external content)','Free'),
87
('BakerTaylorUsername','','','Baker & Taylor Username for Content Cafe (external content)','Free'),
88
('BarcodeSeparators','\\s\\r\\n','','Splitting characters for barcodes','Free'),
88
('BasketConfirmations','1','always ask for confirmation.|do not ask for confirmation.','When closing or reopening a basket,','Choice'),
89
('BasketConfirmations','1','always ask for confirmation.|do not ask for confirmation.','When closing or reopening a basket,','Choice'),
89
('BatchCheckouts','0','','Enable or disable batch checkouts','YesNo'),
90
('BatchCheckouts','0','','Enable or disable batch checkouts','YesNo'),
90
('BatchCheckoutsValidCategories','',NULL,'Patron categories allowed to checkout in a batch','Free'),
91
('BatchCheckoutsValidCategories','',NULL,'Patron categories allowed to checkout in a batch','Free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref (-1 / +6 lines)
Lines 1-4 Link Here
1
Tools:
1
Tools:
2
    Barcodes:
3
        -
4
            - Split barcodes on the following separator chars
5
            - pref: BarcodeSeparators
6
              default: '\s\r\n'
7
            - "in batch item modification and inventory.<br/>Note: Type \\r for carriage return, \\n for newline and \\s for whitespace. Possible candidates to include also are pipe char |, hyphen (precede with backslash), comma, semicolon, dot, etc."
2
    Batch item:
8
    Batch item:
3
        -
9
        -
4
            - Process up to
10
            - Process up to
5
- 

Return to bug 22996