--- /dev/null
+INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type )
+ SELECT 'AllowItemsOnHoldCheckoutSCO',
+ COALESCE(value,0),
+ '',
+ 'Do not generate RESERVE_WAITING and RESERVED warning in the SCO module when checking out items reserved to someone else. This allows self checkouts for those items.',
+ 'YesNo'
+ FROM systempreferences WHERE variable='AllowItemsOnHoldCheckout';
+
+-- $DBversion = '16.06.00.XXX';
+-- if ( CheckVersion($DBversion) ) {
+-- $dbh->do(q{
+-- INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type )
+-- SELECT 'AllowItemsOnHoldCheckoutSCO',COALESCE(value,0),'','Do not generate RESERVE_WAITING and RESERVED warning in the SCO module when checking out items reserved to someone else. This allows self checkouts for those items.','YesNo'
+-- FROM systempreferences WHERE variable='AllowItemsOnHoldCheckout';
+-- });
+
+-- print "Upgrade to $DBversion done (Bug 15131: Give SCO separate control for AllowItemsOnHoldCheckout)\n";
+-- SetVersion($DBversion);
+-- }
('AllowHoldsOnDamagedItems','1','','Allow hold requests to be placed on damaged items','YesNo'),
('AllowHoldsOnPatronsPossessions','1',NULL,'Allow holds on records that patron have items of it','YesNo'),
('AllowItemsOnHoldCheckout','0','','Do not generate RESERVE_WAITING and RESERVED warning when checking out items reserved to someone else. This allows self checkouts for those items.','YesNo'),
+('AllowItemsOnHoldCheckoutSCO','0','','Do not generate RESERVE_WAITING and RESERVED warning in the SCO module when checking out items reserved to someone else. This allows self checkouts for those items.','YesNo'),
('AllowMultipleCovers','0','1','Allow multiple cover images to be attached to each bibliographic record.','YesNo'),
('AllowMultipleIssuesOnABiblio',1,'Allow/Don\'t allow patrons to check out multiple items from one biblio','','YesNo'),
('AllowNotForLoanOverride','0','','If ON, Koha will allow the librarian to loan a not for loan item.','YesNo'),
no: "Don't allow"
- checkouts of items reserved to someone else. If allowed do not generate RESERVE_WAITING and RESERVED warning. This allows self checkouts for those items.
-
+ - pref: AllowItemsOnHoldCheckoutSCO
+ choices:
+ yes: Allow
+ no: "Don't allow"
+ - checkouts of items reserved to someone else in the SCO module. If allowed do not generate RESERVE_WAITING and RESERVED warning. This allows self checkouts for those items.
+ -
- pref: AllFinesNeedOverride
choices:
yes: Require