Bug 18837: Add ILL Unmediated syspref stuff
This patch adds the syspref requirements for unmediated ILL requests. It is a recreation of https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66628&action=diff which had diverged sufficiently as to make it impossible to apply. * installer/data/mysql/atomicupdate/illunmediated_tables.sql: New file. * installer/data/mysql/sysprefs.sql: Add `ILLModuleUnmediated`. * koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref: Add `ILLModuleUnmediated` handling. Signed-off-by: Stephen Graham <s.graham4@herts.ac.uk> Signed-off-by: David Peacock <d.m.peacock@herts.ac.uk> Signed-off-by: Jayne Maisey <j.maisey@herts.ac.uk> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
7413de82f2
commit
b1e076fab0
|
|
@ -0,0 +1,4 @@
|
|||
-- System preferences
|
||||
|
||||
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES
|
||||
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo');
|
||||
|
|
@ -220,6 +220,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
|
|||
('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'),
|
||||
('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'),
|
||||
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
|
||||
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'),
|
||||
('ILS-DI','0','','Enables ILS-DI services at OPAC.','YesNo'),
|
||||
('ILS-DI:AuthorizedIPs','','Restricts usage of ILS-DI to some IPs','.','Free'),
|
||||
('ImageLimit','5','','Limit images stored in the database by the Patron Card image manager to this number.','Integer'),
|
||||
|
|
|
|||
|
|
@ -801,6 +801,13 @@ Circulation:
|
|||
- pref: ILLOpacbackends
|
||||
class: multi
|
||||
- (separated with |). If left empty, all installed backends will be enabled.
|
||||
-
|
||||
- Allow unmediated Interlibrary loan requests
|
||||
- pref: ILLModuleUnmediated
|
||||
default: 0
|
||||
choices:
|
||||
yes: Enable
|
||||
no: Disable
|
||||
Fines Policy:
|
||||
-
|
||||
- Calculate fines based on days overdue
|
||||
|
|
|
|||
Loading…
Reference in New Issue