Bug 25261: Add system preference
Sponsored-by: Royal College of Music [https://www.rcm.ac.uk/] Sponsored-by: PTFS Europe [https://ptfs-europe.com/] Signed-off-by: Frédéric Demians <f.demians@tamil.fr> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
28ecd4cb7e
commit
a6ca5a6e12
|
|
@ -0,0 +1,6 @@
|
|||
$DBversion = 'XXX'; # will be replaced by the RM
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
$dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('CircConfirmParts', '0', NULL, 'Require staff to confirm that all parts of an item are present at checkin/checkout.', 'YesNo') });
|
||||
|
||||
NewVersion( $DBversion, 25261, "Add CircConfirmParts syspref");
|
||||
}
|
||||
|
|
@ -124,6 +124,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
|
|||
('CataloguingLog','1',NULL,'If ON, log edit/create/delete actions on bibliographic data. WARNING: this feature is very resource consuming.','YesNo'),
|
||||
('CheckPrevCheckout','hardno','hardyes|softyes|softno|hardno','By default, for every item checked out, should we warn if the patron has borrowed that item in the past?','Choice'),
|
||||
('CircAutoPrintQuickSlip','qslip',NULL,'Choose what should happen when an empty barcode field is submitted in circulation: Display a print quick slip window, Display a print slip window or Clear the screen.','Choice'),
|
||||
('CircConfirmParts', '0', NULL, 'Require staff to confirm that all parts of an item are present at checkin/checkout.', 'Yes/No'),
|
||||
('CircControl','ItemHomeLibrary','PickupLibrary|PatronLibrary|ItemHomeLibrary','Specify the agency that controls the circulation and fines policy','Choice'),
|
||||
('CircSidebar','0',NULL,'Activate or deactivate the navigation sidebar on all Circulation pages','YesNo'),
|
||||
('CirculateILL','0','','If enabled, it is possible to circulate ILL items from within ILL','YesNo'),
|
||||
|
|
|
|||
|
|
@ -6,6 +6,12 @@ Circulation:
|
|||
yes: Activate
|
||||
no: Deactivate
|
||||
- the navigation sidebar on all circulation pages.
|
||||
-
|
||||
- pref: CircConfirmParts
|
||||
choices:
|
||||
yes: "Require"
|
||||
no: "Don't require"
|
||||
- staff to confirm that all parts of an item are present at checkin/checkout.
|
||||
-
|
||||
- pref: AutoSwitchPatron
|
||||
choices:
|
||||
|
|
|
|||
Loading…
Reference in New Issue