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 (-4 / +3 lines)
Lines 7931-7940 if(CheckVersion($DBversion)) { Link Here
7931
}
7931
}
7932
7932
7933
7933
7934
$DBversion = "3.13.00.XXX";
7934
$DBversion = "3.15.00.XXX";
7935
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
7935
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
7936
    $dbh->do("UPDATE systempreferences SET type = 'Choice', options = 'no|yes|force' WHERE variable = 'OPACItemHolds'");
7936
    $dbh->do("UPDATE systempreferences SET type = 'Choice', options = '0|1|force' WHERE variable = 'OPACItemHolds'");
7937
    print "Upgrade to $DBversion done (Changed OPACItemHolds syspref to Choice)\n";
7937
    print "Upgrade to $DBversion done (Bug 7825 - Changed OPACItemHolds syspref to Choice)\n";
7938
    SetVersion($DBversion);
7938
    SetVersion($DBversion);
7939
}
7939
}
7940
7940
7941
- 

Return to bug 7825