Bugzilla – Attachment 68074 Details for
Bug 19186
SelfCheckoutByLogin should list 'cardnumber' as an option instead of 'barcode'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19186: (QA follow-up) Insert syspref SelfCheckoutByLogin if missing
Bug-19186-QA-follow-up-Insert-syspref-SelfCheckout.patch (text/plain), 2.42 KB, created by
Julian Maurice
on 2017-10-13 13:35:15 UTC
(
hide
)
Description:
Bug 19186: (QA follow-up) Insert syspref SelfCheckoutByLogin if missing
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2017-10-13 13:35:15 UTC
Size:
2.42 KB
patch
obsolete
>From 0fee95b21691b426007fc307df957cd8168478c0 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 13 Oct 2017 13:29:53 +0000 >Subject: [PATCH] Bug 19186: (QA follow-up) Insert syspref SelfCheckoutByLogin > if missing > >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >--- > installer/data/mysql/atomicupdate/bug_19186.perl | 10 ++++++++++ > installer/data/mysql/sysprefs.sql | 1 + > 2 files changed, 11 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_19186.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_19186.perl b/installer/data/mysql/atomicupdate/bug_19186.perl >new file mode 100644 >index 0000000000..06ed2097a1 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_19186.perl >@@ -0,0 +1,10 @@ >+$DBversion = 'XXX'; >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do(q{ >+ INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) VALUES >+ ('SelfCheckoutByLogin','0',NULL,'Have patrons login into the web-based self checkout system with their username/password or their cardnumber','YesNo') >+ }); >+ >+ SetVersion( $DBversion ); >+ print "Upgrade to $DBversion done (Bug 19186 - Insert system preference SelfCheckoutByLogin if missing)\n"; >+} >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index fc4e560e54..47288874f6 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -472,6 +472,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'), >+('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'), > ('SeparateHoldings','0',NULL,'Separate current branch holdings from other holdings','YesNo'), >-- >2.11.0
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 19186
:
67406
|
67487
|
68073
| 68074