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

(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 159-166 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
159
('HighlightOwnItemsOnOPAC','0','','If on, and a patron is logged into the OPAC, items from his or her home library will be emphasized and shown first in search results and item details.','YesNo'),
159
('HighlightOwnItemsOnOPAC','0','','If on, and a patron is logged into the OPAC, items from his or her home library will be emphasized and shown first in search results and item details.','YesNo'),
160
('HighlightOwnItemsOnOPACWhich','PatronBranch','PatronBranch|OpacURLBranch','Decides which branch\'s items to emphasize. If PatronBranch, emphasize the logged in user\'s library\'s items. If OpacURLBranch, highlight the items of the Apache var BRANCHCODE defined in Koha\'s Apache configuration file.','Choice'),
160
('HighlightOwnItemsOnOPACWhich','PatronBranch','PatronBranch|OpacURLBranch','Decides which branch\'s items to emphasize. If PatronBranch, emphasize the logged in user\'s library\'s items. If OpacURLBranch, highlight the items of the Apache var BRANCHCODE defined in Koha\'s Apache configuration file.','Choice'),
161
('HoldFeeMode','not_always','always|not_always','Set the hold fee mode','Choice'),
161
('HoldFeeMode','not_always','always|not_always','Set the hold fee mode','Choice'),
162
('HoldsToPullStartDate','2',NULL,'Set the default start date for the Holds to pull list to this many days ago','Integer'),
163
('HoldsQueueSkipClosed', '0', NULL, 'If enabled, any libraries that are closed when the holds queue is built will be ignored for the purpose of filling holds.', 'YesNo'),
162
('HoldsQueueSkipClosed', '0', NULL, 'If enabled, any libraries that are closed when the holds queue is built will be ignored for the purpose of filling holds.', 'YesNo'),
163
('HoldsToPullStartDate','2',NULL,'Set the default start date for the Holds to pull list to this many days ago','Integer'),
164
('HomeOrHoldingBranch','holdingbranch','holdingbranch|homebranch','Used by Circulation to determine which branch of an item to check with independent branches on, and by search to determine which branch to choose for availability ','Choice'),
164
('HomeOrHoldingBranch','holdingbranch','holdingbranch|homebranch','Used by Circulation to determine which branch of an item to check with independent branches on, and by search to determine which branch to choose for availability ','Choice'),
165
('HTML5MediaEnabled','not','not|opac|staff|both','Show a tab with a HTML5 media player for files catalogued in field 856','Choice'),
165
('HTML5MediaEnabled','not','not|opac|staff|both','Show a tab with a HTML5 media player for files catalogued in field 856','Choice'),
166
('HTML5MediaExtensions','webm|ogg|ogv|oga|vtt','','Media file extensions','free'),
166
('HTML5MediaExtensions','webm|ogg|ogv|oga|vtt','','Media file extensions','free'),
(-)a/t/db_dependent/HoldsQueue.t (-2 / +1 lines)
Lines 334-340 is( @$holds_queue, 3, "Holds queue filling correct number for holds for default Link Here
334
# Test skipping hold picks for closed libraries without transport cost matrix
334
# Test skipping hold picks for closed libraries without transport cost matrix
335
# At this point in the test, we have 3 rows in the holds queue
335
# At this point in the test, we have 3 rows in the holds queue
336
# one of which is coming from MPL. Let's enable HoldsQueueSkipClosed
336
# one of which is coming from MPL. Let's enable HoldsQueueSkipClosed
337
# and use our previously created holiday for MPL.
337
# and use our previously created holiday for MPL
338
# When we run it again we should only have 2 rows in the holds queue
338
# When we run it again we should only have 2 rows in the holds queue
339
C4::Context->set_preference( 'HoldsQueueSkipClosed', 1 );
339
C4::Context->set_preference( 'HoldsQueueSkipClosed', 1 );
340
C4::HoldsQueue::CreateQueue();
340
C4::HoldsQueue::CreateQueue();
341
- 

Return to bug 12803