Bugzilla – Attachment 159460 Details for
Bug 35131
Add scan-able barcode to the patron sidebar (patroninfo)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35131: Add new system preference and DBRev
Bug-35131-Add-new-system-preference-and-DBRev.patch (text/plain), 2.74 KB, created by
Kyle M Hall (khall)
on 2023-12-01 16:37:27 UTC
(
hide
)
Description:
Bug 35131: Add new system preference and DBRev
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-12-01 16:37:27 UTC
Size:
2.74 KB
patch
obsolete
>From 72d0c1d3c060f7489b26e05d1903f5bd3414e067 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Mon, 23 Oct 2023 15:15:55 +0000 >Subject: [PATCH] Bug 35131: Add new system preference and DBRev > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > installer/data/mysql/atomicupdate/bug_35131.pl | 15 +++++++++++++++ > installer/data/mysql/mandatory/sysprefs.sql | 1 + > 2 files changed, 16 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_35131.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_35131.pl b/installer/data/mysql/atomicupdate/bug_35131.pl >new file mode 100755 >index 00000000000..729a54707d4 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_35131.pl >@@ -0,0 +1,15 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => 35131, >+ description => "Add preference ShowBarcodeOnPatronRecord", >+ up => sub { >+ my ($args) = @_; >+ my ($dbh, $out) = @$args{qw(dbh out)}; >+ $dbh->do(q{ >+INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type` ) VALUES >+('ShowBarcodeOnPatronRecord', '0', '|0|Code39|COOP2of5|EAN13|EAN8|IATA2of5|Industrial2of5|ITF|Matrix2of5|NW7|QRcode|UPCA|UPCE', 'Show a patron carnumber as a barcode on the patron record ', 'Choice') >+ }); >+ say $out "Added new system preference 'ShowBarcodeOnPatronRecord'"; >+ }, >+}; >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index b58114d802e..b0442e13f59 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -688,6 +688,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('MaxComponentRecords', '300', '','Max number of component records to display','Integer'), > ('ShowHeadingUse', '0', NULL, 'Show whether authority record contains an established heading that conforms to descriptive cataloguing rules, and can therefore be used as a main/added entry, or subject, or series title', 'YesNo'), > ('showLastPatron','0','','If ON, enables the last patron feature in the intranet','YesNo'), >+('ShowBarcodeOnPatronRecord','|0|Code39|COOP2of5|EAN13|EAN8|IATA2of5|Industrial2of5|ITF|Matrix2of5|NW7|QRcode|UPCA|UPCE','0','Show a patron\'s carnumber as a barcode on the patron record','Choice'), > ('showLastPatronCount', '10', '', 'How many patrons should showLastPatron remember', 'Integer'), > ('ShowPatronImageInWebBasedSelfCheck','0','','If ON, displays patron image when a patron uses web-based self-checkout','YesNo'), > ('ShowReviewer','full','none|full|first|surname|firstandinitial|username','Choose how a commenter\'s identity is presented alongside comments in the OPAC','Choice'), >-- >2.30.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 35131
:
157674
|
157675
|
157676
|
157936
|
158242
|
158243
|
158244
|
159459
| 159460 |
159461
|
159462