This patch allows the Branch Transfer Limits feature to limit transfers either by itemtype ( like the original commit ) or collection code ( new feature ).
[Note inserted by RM: this patch is by Kyle Hall]
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
@ -214,3 +214,4 @@ INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('
INSERTINTO`systempreferences`(variable,value,options,explanation,type)VALUES('OPACDisplayRequestPriority','0','','Show patrons the priority level on holds in the OPAC','YesNo');
INSERTINTO`systempreferences`(`variable`,`value`,`options`,`explanation`,`type`)VALUES('UseBranchTransferLimits','0','','If ON, Koha will will use the rules defined in branch_transfer_limits to decide if an item transfer should be allowed.','YesNo');
INSERTINTOsystempreferences(variable,value,explanation,options,type)VALUES('AllowHoldPolicyOverride','0','Allow staff to override hold policies when placing holds',NULL,'YesNo');
INSERTINTO`systempreferences`(`variable`,`value`,`options`,`explanation`,`type`)VALUES('BranchTransferLimitsType','ccode','itemtype|ccode','When using branch transfer limits, choose whether to limit by itemtype or collection code.','Choice');
INSERTINTO`systempreferences`(`variable`,`value`,`options`,`explanation`,`type`)VALUES('UseBranchTransferLimits','0','','If ON, Koha will will use the rules defined in branch_transfer_limits to decide if an item transfer should be allowed.','YesNo');
INSERTINTOsystempreferences(variable,value,explanation,options,type)VALUES('AllowHoldPolicyOverride','0',"Autorise le personnel á outrepasser la politique de réservation au moment d'une réservation",NULL,'YesNo');
INSERTINTO`systempreferences`(`variable`,`value`,`options`,`explanation`,`type`)VALUES('BranchTransferLimitsType','ccode','itemtype|ccode','When using branch transfer limits, choose whether to limit by itemtype or collection code.','Choice');
'BranchTransferLimitsType','ccode','itemtype|ccode','When using branch transfer limits, choose whether to limit by itemtype or collection code.','Choice'
);");
print"Upgrade to $DBversion done ( Updated table for Branch Transfer Limits)\n";