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

(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 229-235 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
229
('OpacHiddenItems','','','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/OpacHiddenItems.txt for more informations.','Textarea'),
229
('OpacHiddenItems','','','This syspref allows to define custom rules for hiding specific items at opac. See docs/opac/OpacHiddenItems.txt for more informations.','Textarea'),
230
('OpacHighlightedWords','1','','If Set, then queried words are higlighted in OPAC','YesNo'),
230
('OpacHighlightedWords','1','','If Set, then queried words are higlighted in OPAC','YesNo'),
231
('OpacHoldNotes','0','','Show hold notes on OPAC','YesNo'),
231
('OpacHoldNotes','0','','Show hold notes on OPAC','YesNo'),
232
('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'),
232
('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'),
233
('OpacItemLocation','callnum','callnum|ccode|location','Show the shelving location of items in the opac','Choice'),
233
('OpacItemLocation','callnum','callnum|ccode|location','Show the shelving location of items in the opac','Choice'),
234
('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'),
234
('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'),
235
('OpacKohaUrl','1',NULL,'Show \'Powered by Koha\' text on OPAC footer.',NULL),
235
('OpacKohaUrl','1',NULL,'Show \'Powered by Koha\' text on OPAC footer.',NULL),
(-)a/installer/data/mysql/updatedatabase.pl (-2 / +1 lines)
Lines 7915-7921 if ( CheckVersion($DBversion) ) { Link Here
7915
7915
7916
$DBversion = "3.13.00.XXX";
7916
$DBversion = "3.13.00.XXX";
7917
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
7917
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
7918
    $dbh->do("UPDATE systempreferences SET type = 'Choice', options = 'no|yes|force' WHERE variable = 'OPACItemHolds'");
7918
    $dbh->do("UPDATE systempreferences SET type = 'Choice', options = '0|1|force' WHERE variable = 'OPACItemHolds'");
7919
    print "Upgrade to $DBversion done (Changed OPACItemHolds syspref to Choice)\n";
7919
    print "Upgrade to $DBversion done (Changed OPACItemHolds syspref to Choice)\n";
7920
    SetVersion($DBversion);
7920
    SetVersion($DBversion);
7921
}
7921
}
7922
- 

Return to bug 7825