Bug 24860: Add new syspref EnableItemGroupHolds

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>

Signed-off-by: Rebecca Coert <rcoert@arlingtonva.us>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Kyle Hall 2020-02-28 10:51:47 -05:00 committed by Tomas Cohen Arazi
parent cfa6e15169
commit 5b7410fe2b
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
3 changed files with 12 additions and 0 deletions

View file

@ -16,6 +16,11 @@ if ( CheckVersion( $DBversion ) ) {
});
}
$dbh->do(q{
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
('EnableItemGroupHolds','0','','Enable volume level holds feature','YesNo')
});
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 24860 - Add ability to place item group level holds)\n";
}

View file

@ -218,6 +218,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
('EnablePointOfSale','0',NULL,'Enable the point of sale feature to allow anonymous transactions with the accounting system. (Requires UseCashRegisters)','YesNo'),
('EnableSearchHistory','0','','Enable or disable search history','YesNo'),
('EnableItemGroups','0','','Enable the item groups feature','YesNo'),
('EnableItemGroupHolds','0','','Enable volume level holds feature','YesNo'),
('EnhancedMessagingPreferences','1','','If ON, allows patrons to select to receive additional messages about items due or nearly due.','YesNo'),
('EnhancedMessagingPreferencesOPAC', '1', NULL, 'If ON, show patrons messaging setting on the OPAC.', 'YesNo'),
('expandedSearchOption','0',NULL,'If ON, set advanced search to be expanded by default','YesNo'),

View file

@ -685,6 +685,12 @@ Circulation:
itemtype: "hold item type"
branch_itemtype: "pickup library and item type"
- "."
-
- pref: EnableItemGroupHolds
choices:
yes: Enable
no: "Don't enable"
- the ability to place holds on item groups.
-
- If the holds queue is split, show librarians
- pref: HoldsSplitQueueNumbering