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

(-)a/installer/data/mysql/sysprefs.sql (+7 lines)
Lines 423-428 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
423
('UpdateTotalIssuesOnCirc','0',NULL,'Whether to update the totalissues field in the biblio on each circ.','YesNo'),
423
('UpdateTotalIssuesOnCirc','0',NULL,'Whether to update the totalissues field in the biblio on each circ.','YesNo'),
424
('uppercasesurnames','0',NULL,'If ON, surnames are converted to upper case in patron entry form','YesNo'),
424
('uppercasesurnames','0',NULL,'If ON, surnames are converted to upper case in patron entry form','YesNo'),
425
('URLLinkText','',NULL,'Text to display as the link anchor in the OPAC','free'),
425
('URLLinkText','',NULL,'Text to display as the link anchor in the OPAC','free'),
426
('UsageStatsCountry', '', 'The country where your library is to show on hea Koha community website', NULL, 'YesNo'),
427
('UsageStatsID', '', 'This pref is part of Koha but it should not be deleted or updated manually.', '', 'Free'),
428
('UsageStatsLastUpdateTime', '', 'This pref is part of Koha but it should not be deleted or updated manually.', '', 'Free'),
429
('UsageStatsLibraryName', '', 'The library name to show on hea Koha community website', NULL, 'Free'),
430
('UsageStatsLibraryType', 'public', 'public|university', 'The library type to show on hea Koha community website', NULL, 'Choice'),
431
('UsageStatsLibraryUrl', '', 'The library url to show on hea Koha community website', NULL, 'Free'),
432
('UsageStatsShare', 0, 'Share data volumetry with Koha community (HEA).', NULL, 'YesNo'),
426
('UseAuthoritiesForTracings','1','0','Use authority record numbers for subject tracings instead of heading strings.','YesNo'),
433
('UseAuthoritiesForTracings','1','0','Use authority record numbers for subject tracings instead of heading strings.','YesNo'),
427
('UseBranchTransferLimits','0','','If ON, Koha will will use the rules defined in branch_transfer_limits to decide if an item transfer should be allowed.','YesNo'),
434
('UseBranchTransferLimits','0','','If ON, Koha will will use the rules defined in branch_transfer_limits to decide if an item transfer should be allowed.','YesNo'),
428
('UseControlNumber','0','','If ON, record control number (w subfields) and control number (001) are used for linking of bibliographic records.','YesNo'),
435
('UseControlNumber','0','','If ON, record control number (w subfields) and control number (001) are used for linking of bibliographic records.','YesNo'),
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +17 lines)
Lines 8800-8805 if ( CheckVersion($DBversion) ) { Link Here
8800
    SetVersion($DBversion);
8800
    SetVersion($DBversion);
8801
}
8801
}
8802
8802
8803
$DBversion = "3.17.00.XXX";
8804
if ( CheckVersion($DBversion) ) {
8805
    $dbh->do(
8806
        q{
8807
       INSERT INTO systempreferences (variable, value, options, explanation, type )
8808
       VALUES
8809
        ('UsageStatsCountry', '', NULL, 'The country where your library is to show on hea Koha community website', 'YesNo'),
8810
        ('UsageStatsID', '', NULL, 'This pref is part of Koha but it should not be deleted or updated manually.',  'Free'),
8811
        ('UsageStatsLastUpdateTime', '', NULL, 'This pref is part of Koha but it should not be deleted or updated manually.', 'Free'),
8812
        ('UsageStatsLibraryName', '', NULL, 'The library name to show on hea Koha community website', 'Free'),
8813
        ('UsageStatsLibraryType', 'public', 'public|university', 'The library type to show on hea Koha community website', 'Choice'),
8814
        ('UsageStatsLibraryUrl', '', NULL, 'The library url to show on hea Koha community website', 'Free'),
8815
        ('UsageStatsShare', 0, NULL, 'Share data volumetry with Koha community (HEA).', 'YesNo')
8816
    });
8817
    print "Upgrade to $DBversion done (Bug 11926: Add UsageStats systempreferences (HEA))\n";
8818
    SetVersion($DBversion);
8819
}
8803
8820
8804
=head1 FUNCTIONS
8821
=head1 FUNCTIONS
8805
8822
8806
- 

Return to bug 11926