@@ -, +, @@ --- .../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 --- a/installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl +++ a/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'); + }); + + }, +}; --- a/installer/data/mysql/mandatory/sysprefs.sql +++ a/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'), --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref +++ a/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.

" + - "Examples:
" + - "
- name: Closed
" + - "
  status:
" + - "
    - COMP
" + - "
- name: Ordered
" + - "
  status:
" + - "
    - REQ
" + - "
    - ANOTHER_ORDER_STATUS
" + - "
- name: On loan
" + - "
  status:
" + - "
    - CHK
" - - pref: ILLModuleUnmediated default: 0 --