Bug 27595: Add new system preference PlaceHoldsOnOrdersFromSuggestions

Signed-off-by: Kelly <kelly@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Nick Clemens 2023-12-04 14:04:06 +00:00 committed by Katrin Fischer
parent e846641edd
commit 28e5e49790
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,18 @@
use Modern::Perl;
return {
bug_number => "27595",
description => "Add system preference PlaceHoldsOnOrdersFromSuggestions",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
('PlaceHoldsOnOrdersFromSuggestions','0',NULL,'If ON, enables generation of holds when orders are placed from suggestions','YesNo')
}
);
say $out "Added new system preference 'PlaceHoldsOnOrdersFromSuggestions'";
},
};

View File

@ -601,6 +601,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
('PatronSelfRegistrationVerifyByEmail','0',NULL,'If enabled, any patron attempting to register themselves via the OPAC will be required to verify themselves via email to activate their account.','YesNo'),
('PatronsPerPage','20','20','Number of Patrons Per Page displayed by default','Integer'),
('PhoneNotification','0',NULL,'If ON, enables generation of phone notifications to be sent by plugins','YesNo'),
('PlaceHoldsOnOrdersFromSuggestions','0',NULL,'If ON, enables generation of holds when orders are placed from suggestions','YesNo'),
('PrefillGuaranteeField', 'phone,email,streetnumber,address,city,state,zipcode,country', NULL, 'Prefill these fields in guarantee member entry form from guarantor patron record', 'Multiple'),
('PrefillItem','0','','When a new item is added, should it be prefilled with last created item values?','YesNo'),
('PreservationModule', '0', NULL, 'Enable the preservation module', 'YesNo'),

View File

@ -161,6 +161,12 @@ Acquisitions:
"pdfformat::layout3pagesfr": French 3-page
"pdfformat::layout2pagesde": German 2-page
- layout when printing basket groups.
-
- pref: PlaceHoldsOnOrdersFromSuggestions
choices:
1: "Do"
0: "Don't"
- place a hold when ordering from a suggestion.
EDIFACT:
-
- pref: EDIFACT