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

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

Return to bug 11926