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

(-)a/installer/data/mysql/atomicupdate/bug24544.perl (+11 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do( q|
4
        INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES
5
        ('PID_Domain', '', NULL , 'Domain name for your persistent identifiers', 'Free'),
6
        ('PID_Field', '', NULL , 'Controls if and where persistent identifiers are used', 'Free')
7
    |);
8
9
    # Always end with this (adjust the bug info)
10
    NewVersion( $DBversion, 24544, "Insert prefs PID_Domain, PID_Field");
11
}
(-)a/installer/data/mysql/sysprefs.sql (+2 lines)
Lines 506-511 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
506
('PayPalSandboxMode',  '1', NULL ,  'If enabled, the system will use PayPal''s sandbox server for testing, rather than the production server.',  'YesNo'),
506
('PayPalSandboxMode',  '1', NULL ,  'If enabled, the system will use PayPal''s sandbox server for testing, rather than the production server.',  'YesNo'),
507
('PayPalSignature',  '', NULL ,  'Your PayPal API signature',  'Free'),
507
('PayPalSignature',  '', NULL ,  'Your PayPal API signature',  'Free'),
508
('PayPalUser',  '', NULL ,  'Your PayPal API username ( email address )',  'Free'),
508
('PayPalUser',  '', NULL ,  'Your PayPal API username ( email address )',  'Free'),
509
('PID_Domain', '', NULL , 'Domain name for your persistent identifiers', 'Free'),
510
('PID_Field', '', NULL , 'Controls if and where persistent identifiers are used', 'Free'),
509
('PrefillGuaranteeField', 'phone,email,streetnumber,address,city,state,zipcode,country', NULL, 'Prefill these fields in guarantee member entry form from guarantor patron record', 'Multiple'),
511
('PrefillGuaranteeField', 'phone,email,streetnumber,address,city,state,zipcode,country', NULL, 'Prefill these fields in guarantee member entry form from guarantor patron record', 'Multiple'),
510
('PrefillItem','0','','When a new item is added, should it be prefilled with last created item values?','YesNo'),
512
('PrefillItem','0','','When a new item is added, should it be prefilled with last created item values?','YesNo'),
511
('PreserveSerialNotes','1','','When a new "Expected" issue is generated, should it be prefilled with last created issue notes?','YesNo'),
513
('PreserveSerialNotes','1','','When a new "Expected" issue is generated, should it be prefilled with last created issue notes?','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref (-1 / +12 lines)
Lines 451-453 Administration: Link Here
451
                "ARRAY": "Searchable array"
451
                "ARRAY": "Searchable array"
452
            - <br>ISO2709 format is recommended as it is faster and takes less space, whereas array format makes the full MARC record searchable.
452
            - <br>ISO2709 format is recommended as it is faster and takes less space, whereas array format makes the full MARC record searchable.
453
            - <br><strong>NOTE:</strong> Making the full record searchable may have a negative effect on relevance ranking of search results.
453
            - <br><strong>NOTE:</strong> Making the full record searchable may have a negative effect on relevance ranking of search results.
454
- 
454
    Persistent identifiers:
455
        -
456
            - "Use the following domain for your own persistent identifiers: "
457
            - pref: PID_Domain
458
              default: ""
459
            - "<br>Note: The preference is primarily used to recognize your identifiers, not to create them."
460
        -
461
            - "Specify MARC fields for categories (auth, biblio or item) where you want to use persistent identifiers: "
462
            - pref: PID_Field
463
              default: ""
464
            - "<br>Use this format [auth:024[$a],][biblio:024[$a],][item] or leave empty for not including identifiers. Item does not have a field."
465
            - "<br>For instance biblio:024$a,item means that you want identifiers in biblio records (using field 024a) and items. In MARC21 tag 024 is a good choice, as tag 003 is in UNIMARC, but you may configure alternatives here too."

Return to bug 24544