Bugzilla – Attachment 131305 Details for
Bug 30200
Add customizable tabs to interlibrary loan requests list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30200: Add a new system preference ILLRequestsTabs
Bug-30200-Add-a-new-system-preference-ILLRequestsT.patch (text/plain), 3.76 KB, created by
Lari Taskula
on 2022-03-03 02:52:42 UTC
(
hide
)
Description:
Bug 30200: Add a new system preference ILLRequestsTabs
Filename:
MIME Type:
Creator:
Lari Taskula
Created:
2022-03-03 02:52:42 UTC
Size:
3.76 KB
patch
obsolete
>From 556d88c26d2878ac89cdff4b42ce7a1dffdfa201 Mon Sep 17 00:00:00 2001 >From: Lari Taskula <lari.taskula@hypernova.fi> >Date: Thu, 3 Mar 2022 00:02:17 +0000 >Subject: [PATCH] Bug 30200: Add a new system preference ILLRequestsTabs > >--- > .../Bug_30200-Add_ILLRequestsTabs.pl | 18 ++++++++++++++++++ > installer/data/mysql/mandatory/sysprefs.sql | 1 + > .../modules/admin/preferences/circulation.pref | 18 ++++++++++++++++++ > 3 files changed, 37 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl > >diff --git a/installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl b/installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl >new file mode 100644 >index 0000000000..5c6cb265ba >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl >@@ -0,0 +1,18 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "30200", >+ description => "Add customizable tabs to interlibrary loan requests list", >+ up => sub { >+ my ($args) = @_; >+ my ($dbh, $out) = @$args{qw(dbh out)}; >+ # Do you stuffs here >+ $dbh->do(q{ >+ INSERT INTO `systempreferences` >+ (variable,value,options,explanation,type) >+ VALUES >+ ('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea'); >+ }); >+ >+ }, >+}; >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index dd83a00fd8..7029b2b746 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -259,6 +259,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'), > ('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'), > ('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'), >+('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea'), > ('ILLSendStaffNotices', NULL, NULL, 'Send these ILL notices to staff', 'multiple'), > ('ILS-DI','0','','Enables ILS-DI services at OPAC.','YesNo'), > ('ILS-DI:AuthorizedIPs','','Restricts usage of ILS-DI to some IPs','.','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 ecc49a3a90..e5cd6e8284 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 >@@ -933,6 +933,24 @@ Circulation: > - pref: ILLOpacbackends > class: multi > - (separated with |). If left empty, all installed backends will be enabled. >+ - >+ - "Add customizable tabs to interlibrary loan requests list:" >+ - pref: ILLRequestsTabs >+ syntax: text/x-yaml >+ class: code >+ type: textarea >+ - "This is a list that defines tab names and statuses that will be sorted under that tab.<br/><br/>" >+ - "Examples:<br/>" >+ - "<pre>- name: Closed</pre>" >+ - "<pre> status:</pre>" >+ - "<pre> - COMP</pre>" >+ - "<pre>- name: Ordered</pre>" >+ - "<pre> status:</pre>" >+ - "<pre> - REQ</pre>" >+ - "<pre> - ANOTHER_ORDER_STATUS</pre>" >+ - "<pre>- name: On loan</pre>" >+ - "<pre> status:</pre>" >+ - "<pre> - CHK</pre>" > - > - pref: ILLModuleUnmediated > default: 0 >-- >2.25.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 30200
:
131305
|
131306
|
131307
|
131959
|
131960
|
134466
|
134467
|
138863
|
138864
|
138865
|
138866
|
141338
|
141339
|
141340
|
141341
|
179356
|
179357
|
179358
|
179359
|
179436
|
179437
|
179438
|
179439
|
179442
|
179443
|
179444
|
179910
|
179911
|
179912
|
179913
|
182025
|
182026
|
182027
|
182028
|
182029