Bugzilla – Attachment 102179 Details for
Bug 23173
ILL should be able to search third party sources prior to request creation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23173: Add ILLCheckAvailability syspref
Bug-23173-Add-ILLCheckAvailability-syspref.patch (text/plain), 3.41 KB, created by
Andrew Isherwood
on 2020-04-01 09:15:53 UTC
(
hide
)
Description:
Bug 23173: Add ILLCheckAvailability syspref
Filename:
MIME Type:
Creator:
Andrew Isherwood
Created:
2020-04-01 09:15:53 UTC
Size:
3.41 KB
patch
obsolete
>From 637b34f38f1a6bf80e088490d05ffc0feb39b547 Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Fri, 21 Jun 2019 10:17:03 +0100 >Subject: [PATCH] Bug 23173: Add ILLCheckAvailability syspref > >This patch adds the new syspref "ILLCheckAvailability" > >Sponsored-by: Public Health England >Signed-off-by: Niamh Walker-Headon <Niamh.Walker-Headon@tudublin.ie> >--- > .../bug_23173_add_ILLCheckAvailability_syspref.perl | 9 +++++++++ > installer/data/mysql/sysprefs.sql | 1 + > .../prog/en/modules/admin/preferences/circulation.pref | 7 +++++++ > 3 files changed, 17 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_23173_add_ILLCheckAvailability_syspref.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_23173_add_ILLCheckAvailability_syspref.perl b/installer/data/mysql/atomicupdate/bug_23173_add_ILLCheckAvailability_syspref.perl >new file mode 100644 >index 0000000000..a20ebfa52e >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_23173_add_ILLCheckAvailability_syspref.perl >@@ -0,0 +1,9 @@ >+$DBversion = 'XXX'; # will be replaced by the RM >+if( CheckVersion( $DBversion ) ) { >+ # you can use $dbh here like: >+ # $dbh->do( q| INSERT IGNORE INTO systempreferences (variable, value, explanation, options, type) VALUES ('ILLCheckAvailability', '0', 'If enabled, during the ILL request process third party sources will be checked for current availability', '', 'YesNo'); | ); >+ >+ # Always end with this (adjust the bug info) >+ SetVersion( $DBversion ); >+ print "Upgrade to $DBversion done (Bug 23173 - Add ILLCheckAvailability syspref)\n"; >+} >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 01ec32d118..884cb3acbf 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -231,6 +231,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('HTML5MediaExtensions','webm|ogg|ogv|oga|vtt','','Media file extensions','free'), > ('HTML5MediaYouTube',0,'Embed|Don\'t embed','YouTube links as videos','YesNo'), > ('IdRef','0','','Disable/enable the IdRef webservice from the OPAC detail page.','YesNo'), >+('IllCheckAvailability', 0, '', 'If ON, during the ILL request process third party sources will be checked for current availability', 'YesNo'), > ('IllLog', 0, '', 'If ON, log information about ILL requests', 'YesNo'), > ('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'), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >index 1724a81808..c64e7d202f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >@@ -862,6 +862,13 @@ Circulation: > yes: Enable > no: Disable > - the circulation of ILL requested items >+ - >+ - pref: ILLCheckAvailability >+ default: 0 >+ choices: >+ yes: Check >+ no: Don't check >+ - external sources for availability during the request process > Fines Policy: > - > - pref: finesCalendar >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23173
:
91464
|
91465
|
92107
|
92108
|
92539
|
92540
|
92550
|
92551
|
92640
|
92641
|
92693
|
92694
|
92695
|
92715
|
92716
|
92717
|
93146
|
93147
|
93148
|
93909
|
93910
|
93911
|
95268
|
95269
|
95270
|
98521
|
99083
|
100724
|
100725
|
100740
|
102179
|
102180
|
102181
|
102182
|
102183
|
102184
|
102286
|
102287
|
102288
|
102289
|
102290
|
102291
|
102292
|
102293
|
102294