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

(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 237-243 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
237
('OpacHiddenItems','','','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/OpacHiddenItems.txt for more informations.','Textarea'),
237
('OpacHiddenItems','','','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/OpacHiddenItems.txt for more informations.','Textarea'),
238
('OpacHighlightedWords','1','','If Set, then queried words are higlighted in OPAC','YesNo'),
238
('OpacHighlightedWords','1','','If Set, then queried words are higlighted in OPAC','YesNo'),
239
('OpacHoldNotes','0','','Show hold notes on OPAC','YesNo'),
239
('OpacHoldNotes','0','','Show hold notes on OPAC','YesNo'),
240
('OPACItemHolds','yes','no|yes|force','Allow OPAC users to place hold on specific items. If No, users can only request next available copy. If Yes, users can choose between next available and specific copy. If Force, users *must* choose a specific copy.','Choice'),
240
('OPACItemHolds','1','0|1|force','Allow OPAC users to place hold on specific items. If No, users can only request next available copy. If Yes, users can choose between next available and specific copy. If Force, users *must* choose a specific copy.','Choice'),
241
('OpacItemLocation','callnum','callnum|ccode|location','Show the shelving location of items in the opac','Choice'),
241
('OpacItemLocation','callnum','callnum|ccode|location','Show the shelving location of items in the opac','Choice'),
242
('OPACItemsResultsDisplay','0','','If OFF : show only the status of items in result list.If ON : show full location of items (branch+location+callnumber) as in staff interface','YesNo'),
242
('OPACItemsResultsDisplay','0','','If OFF : show only the status of items in result list.If ON : show full location of items (branch+location+callnumber) as in staff interface','YesNo'),
243
('OpacKohaUrl','1',NULL,'Show \'Powered by Koha\' text on OPAC footer.',NULL),
243
('OpacKohaUrl','1',NULL,'Show \'Powered by Koha\' text on OPAC footer.',NULL),
(-)a/installer/data/mysql/updatedatabase.pl (-4 / +3 lines)
Lines 8465-8474 if ( CheckVersion($DBversion) ) { Link Here
8465
    SetVersion($DBversion);
8465
    SetVersion($DBversion);
8466
}
8466
}
8467
8467
8468
$DBversion = "3.13.00.XXX";
8468
$DBversion = "3.15.00.XXX";
8469
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
8469
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
8470
    $dbh->do("UPDATE systempreferences SET type = 'Choice', options = 'no|yes|force' WHERE variable = 'OPACItemHolds'");
8470
    $dbh->do("UPDATE systempreferences SET type = 'Choice', options = '0|1|force' WHERE variable = 'OPACItemHolds'");
8471
    print "Upgrade to $DBversion done (Changed OPACItemHolds syspref to Choice)\n";
8471
    print "Upgrade to $DBversion done (Bug 7825 - Changed OPACItemHolds syspref to Choice)\n";
8472
    SetVersion($DBversion);
8472
    SetVersion($DBversion);
8473
}
8473
}
8474
8474
8475
- 

Return to bug 7825