Bugzilla – Attachment 169807 Details for
Bug 37463
Include cover images from Amazon on staff interface check out screen for specific patron categories
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37463: Adding system preference.
Bug-37463-Adding-system-preference.patch (text/plain), 3.47 KB, created by
Danyon Sewell
on 2024-07-29 04:31:24 UTC
(
hide
)
Description:
Bug 37463: Adding system preference.
Filename:
MIME Type:
Creator:
Danyon Sewell
Created:
2024-07-29 04:31:24 UTC
Size:
3.47 KB
patch
obsolete
>From 68ed972e7f46b0b8bf02c847d103eab09cdacb2b Mon Sep 17 00:00:00 2001 >From: danyonsewell <danyonsewell@catalyst.net.nz> >Date: Mon, 29 Jul 2024 04:22:37 +0000 >Subject: [PATCH] Bug 37463: Adding system preference. > >--- > ...bug_37463-add_SCOCoverImagesCategories_syspref.pl | 12 ++++++++++++ > installer/data/mysql/mandatory/sysprefs.sql | 1 + > .../en/modules/admin/preferences/circulation.pref | 12 ++++++++++++ > 3 files changed, 25 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_37463-add_SCOCoverImagesCategories_syspref.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_37463-add_SCOCoverImagesCategories_syspref.pl b/installer/data/mysql/atomicupdate/bug_37463-add_SCOCoverImagesCategories_syspref.pl >new file mode 100644 >index 00000000000..1f78795ff4e >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_37463-add_SCOCoverImagesCategories_syspref.pl >@@ -0,0 +1,12 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "37463", >+ description => "Add new system preference SCOCoverImagesCategories", >+ up => sub { >+ my ($args) = @_; >+ my ($dbh, $out) = @$args{qw(dbh out)}; >+ >+ $dbh->do(q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('SCOCoverImagesCategories', '1', NULL, 'Cover images will show for checked out items in the self checkout module for selected patron categories:', 'YesNo')}); >+ }, >+}; >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index 1a7cd033e90..66e9632c999 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -685,6 +685,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('SavedSearchFilters', '0', NULL, 'Allow staff with permission to create/edit custom search filters', 'YesNo'), > ('SCOAllowCheckin','0','','If enabled, patrons may return items through the Web-based Self Checkout','YesNo'), > ('SCOBatchCheckoutsValidCategories','',NULL,'Patron categories allowed to checkout in a batch while logged into Self Checkout','Free'), >+('SCOCoverImagesCategories', '1', NULL, 'Cover images will show for checked out items in the self checkout module for selected patron categories:', 'YesNo'), > ('SCOLoadCheckoutsByDefault','1','','If enabled, load the list of a patrons checkouts when they log in to the Self Checkout','YesNo'), > ('SCOUserCSS','',NULL,'Add CSS to be included in the SCO module in an embedded <style> tag.','free'), > ('SCOUserJS','',NULL,'Define custom javascript for inclusion in the SCO module','free'), >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 76983576a6a..ecac859bdc9 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 >@@ -1213,6 +1213,18 @@ Circulation: > syntax: javascript > class: code > Self check-out module: >+ >+ - >+ - pref: SCOCoverImagesCategories >+ >+ choices: >+ >+ 1: Include >+ >+ 0: Exclude >+ >+ - "Cover images will show for checked out items in the self checkout module for selected patron categories:" >+ > - > - "Include the following JavaScript on all pages in the web-based self checkout:" > - pref: SCOUserJS >-- >2.39.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 37463
:
169807
|
169808
|
169809
|
169852
|
170492
|
170623
|
170686