View | Details | Raw Unified | Return to bug 30200
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl (+18 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => "30200",
5
    description => "Add customizable tabs to interlibrary loan requests list",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
        # Do you stuffs here
10
        $dbh->do(q{
11
            INSERT INTO `systempreferences`
12
                (variable,value,options,explanation,type)
13
            VALUES
14
                ('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea');
15
        });
16
17
    },
18
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 278-283 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
278
('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'),
278
('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'),
279
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'),
279
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'),
280
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
280
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
281
('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea'),
281
('ILLSendStaffNotices', NULL, NULL, 'Send these ILL notices to staff', 'multiple'),
282
('ILLSendStaffNotices', NULL, NULL, 'Send these ILL notices to staff', 'multiple'),
282
('ILS-DI','0','','Enables ILS-DI services at OPAC.','YesNo'),
283
('ILS-DI','0','','Enables ILS-DI services at OPAC.','YesNo'),
283
('ILS-DI:AuthorizedIPs','','Restricts usage of ILS-DI to some IPs','.','Free'),
284
('ILS-DI:AuthorizedIPs','','Restricts usage of ILS-DI to some IPs','.','Free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +18 lines)
Lines 1002-1007 Circulation: Link Here
1002
            - pref: ILLOpacbackends
1002
            - pref: ILLOpacbackends
1003
              class: multi
1003
              class: multi
1004
            - (separated with |). If left empty, all installed backends will be enabled.
1004
            - (separated with |). If left empty, all installed backends will be enabled.
1005
        -
1006
            - "Add customizable tabs to interlibrary loan requests list:"
1007
            - pref: ILLRequestsTabs
1008
              syntax: text/x-yaml
1009
              class: code
1010
              type: textarea
1011
            - "This is a list that defines tab names and statuses that will be sorted under that tab.<br/><br/>"
1012
            - "Examples:<br/>"
1013
            - "<pre>- name: Closed</pre>"
1014
            - "<pre>  status:</pre>"
1015
            - "<pre>    - COMP</pre>"
1016
            - "<pre>- name: Ordered</pre>"
1017
            - "<pre>  status:</pre>"
1018
            - "<pre>    - REQ</pre>"
1019
            - "<pre>    - ANOTHER_ORDER_STATUS</pre>"
1020
            - "<pre>- name: On loan</pre>"
1021
            - "<pre>  status:</pre>"
1022
            - "<pre>    - CHK</pre>"
1005
        -
1023
        -
1006
            - pref: ILLModuleUnmediated
1024
            - pref: ILLModuleUnmediated
1007
              default: 0
1025
              default: 0
1008
- 

Return to bug 30200