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 / +18 lines)
Lines 8781-8786 if ( CheckVersion($DBversion) ) { Link Here
8781
    SetVersion($DBversion);
8781
    SetVersion($DBversion);
8782
}
8782
}
8783
8783
8784
$DBversion = "3.17.00.XXX";
8785
if ( CheckVersion($DBversion) ) {
8786
    $dbh->do(
8787
        q{
8788
       INSERT INTO systempreferences (variable, value, options, explanation, type )
8789
       VALUES
8790
        ('UsageStatsCountry', '', NULL, 'The country where your library is to show on hea Koha community website', 'YesNo'),
8791
        ('UsageStatsID', '', NULL, 'This pref is part of Koha but it should not be deleted or updated manually.',  'Free'),
8792
        ('UsageStatsLastUpdateTime', '', NULL, 'This pref is part of Koha but it should not be deleted or updated manually.', 'Free'),
8793
        ('UsageStatsLibraryName', '', NULL, 'The library name to show on hea Koha community website', 'Free'),
8794
        ('UsageStatsLibraryType', 'public', 'public|university', 'The library type to show on hea Koha community website', 'Choice'),
8795
        ('UsageStatsLibraryUrl', '', NULL, 'The library url to show on hea Koha community website', 'Free'),
8796
        ('UsageStatsShare', 0, NULL, 'Share data volumetry with Koha community (HEA).', 'YesNo')
8797
    });
8798
    print "Upgrade to $DBversion done (Bug 11926: Add UsageStats systempreferences (HEA))\n";
8799
    SetVersion($DBversion);
8800
}
8801
8784
=head1 FUNCTIONS
8802
=head1 FUNCTIONS
8785
8803
8786
=head2 TableExists($table)
8804
=head2 TableExists($table)
8787
- 

Return to bug 11926