Bugzilla – Attachment 72053 Details for
Bug 15492
Stand alone self check-in tool
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15492: Add the SelfCheckInModule syspref
Bug-15492-Add-the-SelfCheckInModule-syspref.patch (text/plain), 3.33 KB, created by
Tomás Cohen Arazi (tcohen)
on 2018-02-21 20:13:59 UTC
(
hide
)
Description:
Bug 15492: Add the SelfCheckInModule syspref
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2018-02-21 20:13:59 UTC
Size:
3.33 KB
patch
obsolete
>From 68b4d93b50aa3a391be00ede92ccb88aa4a51d23 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 10 Nov 2017 15:12:56 -0300 >Subject: [PATCH] Bug 15492: Add the SelfCheckInModule syspref > >Signed-off-by: David Bourgault <david.bourgault@inlibro.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > installer/data/mysql/atomicupdate/bug_15492.perl | 11 +++++++++++ > installer/data/mysql/sysprefs.sql | 1 + > .../prog/en/modules/admin/preferences/circulation.pref | 8 +++++++- > 3 files changed, 19 insertions(+), 1 deletion(-) > create mode 100644 installer/data/mysql/atomicupdate/bug_15492.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_15492.perl b/installer/data/mysql/atomicupdate/bug_15492.perl >new file mode 100644 >index 0000000000..f4678074fc >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_15492.perl >@@ -0,0 +1,11 @@ >+$DBversion = 'XXX'; >+if( CheckVersion( $DBversion ) ) { >+ >+ $dbh->do(q| >+ INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) >+ VALUES ('SelfCheckInModule', 0, NULL, 'Enable the standalone self-checkin module.', 'YesNo'); >+ |); >+ >+ SetVersion( $DBversion ); >+ print "Upgrade to $DBversion done (Bug 15492: Add a standalone self-checkin module)\n"; >+} >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 8f5e94b4c4..c6cdcd0292 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -482,6 +482,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('SearchMyLibraryFirst','0',NULL,'If ON, OPAC searches return results limited by the user\'s library by default if they are logged in','YesNo'), > ('SearchWithISBNVariations','0',NULL,'If enabled, search on all variations of the ISBN','YesNo'), > ('SelfCheckHelpMessage','','70|10','Enter HTML to include under the basic Web-based Self Checkout instructions on the Help page','Textarea'), >+('SelfCheckInModule', 0, NULL, 'Enable the standalone self-checkin module.', 'YesNo'), > ('SelfCheckoutByLogin','1',NULL,'Have patrons login into the web-based self checkout system with their username/password or their cardnumber','YesNo'), > ('SelfCheckReceiptPrompt','1','NULL','If ON, print receipt dialog pops up when self checkout is finished','YesNo'), > ('SelfCheckTimeout','120','','Define the number of seconds before the Web-based Self Checkout times out a patron','Integer'), >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 178a048e91..c04eda5c77 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 >@@ -783,7 +783,13 @@ Circulation: > - pref: ProcessingFeeNote > type: textarea > class: code >- >+ Self check-in module: >+ - >+ - pref: SelfCheckInModule >+ choices: >+ yes: Enable >+ no: "Don't enable" >+ - "the standalone self check-in module (available at: /cgi-bin/koha/sci/sci-main.pl)" > Self Checkout: > - > - "Include the following JavaScript on all pages in the web-based self checkout:" >-- >2.16.2
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 15492
:
69165
|
69166
|
69167
|
69168
|
69179
|
69664
|
69665
|
70073
|
70074
|
70075
|
70173
|
70174
|
70175
|
70176
|
70177
|
70178
|
70179
|
72053
|
72054
|
72055
|
72056
|
72057
|
72058
|
72059
|
72060
|
72176
|
72177
|
72178
|
72179
|
72180
|
72181
|
72182
|
72183
|
73097