Bug 20472: Db rev for new preference ArticleRequestsSupportedFormats
This preference controls which formats are actually offered to patrons of the library via the Article Request feature. By default, it only contains PHOTOCOPY. This is default behavior. The request format SCAN will be made possible by this report and can be added by changing the preference. Test plan: Run the dbrev. Check the new pref on Administration. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
f97fca4f00
commit
4b715abdc1
3 changed files with 14 additions and 0 deletions
8
installer/data/mysql/atomicupdate/bug_20472b.perl
Normal file
8
installer/data/mysql/atomicupdate/bug_20472b.perl
Normal file
|
@ -0,0 +1,8 @@
|
|||
$DBversion = 'XXX'; # will be replaced by the RM
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
$dbh->do(q{
|
||||
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
|
||||
('ArticleRequestsSupportedFormats', 'PHOTOCOPY', 'PHOTOCOPY|SCAN', 'List supported formats between vertical bars', 'free')
|
||||
});
|
||||
NewVersion( $DBversion, 20472, "Add syspref ArticleRequestsSupportedFormats");
|
||||
}
|
|
@ -61,6 +61,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
|
|||
('ArticleRequestsMandatoryFields', '', NULL, 'Comma delimited list of required fields for bibs where article requests rule = ''yes''', 'multiple'),
|
||||
('ArticleRequestsMandatoryFieldsItemOnly', '', NULL, 'Comma delimited list of required fields for bibs where article requests rule = ''item_only''', 'multiple'),
|
||||
('ArticleRequestsMandatoryFieldsRecordOnly', '', NULL, 'Comma delimited list of required fields for bibs where article requests rule = ''bib_only''', 'multiple'),
|
||||
('ArticleRequestsSupportedFormats', 'PHOTOCOPY', 'PHOTOCOPY|SCAN', 'List supported formats between vertical bars', 'free'),
|
||||
('AudioAlerts','0','','Enable circulation sounds during checkin and checkout in the staff interface. Not supported by all web browsers yet.','YesNo'),
|
||||
('AuthDisplayHierarchy','0','','Display authority hierarchies','YesNo'),
|
||||
('AuthFailureLog','0',NULL,'If enabled, log authentication failures','YesNo'),
|
||||
|
|
|
@ -1240,6 +1240,11 @@ Circulation:
|
|||
pages: Pages
|
||||
chapters: Chapters
|
||||
-
|
||||
-
|
||||
- "The following article request formats are supported:"
|
||||
- pref: ArticleRequestsSupportedFormats
|
||||
- "(Valid choices are currently: PHOTOCOPY and SCAN. Separate the supported formats by a vertical bar. The first listed format is selected by default when you request via the OPAC.)"
|
||||
|
||||
Return claims:
|
||||
-
|
||||
- When marking a checkout as "claims returned",
|
||||
|
|
Loading…
Reference in a new issue