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 274-279 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
274
('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'),
274
('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'),
275
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'),
275
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'),
276
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
276
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
277
('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea'),
277
('ILLSendStaffNotices', NULL, NULL, 'Send these ILL notices to staff', 'multiple'),
278
('ILLSendStaffNotices', NULL, NULL, 'Send these ILL notices to staff', 'multiple'),
278
('ILS-DI','0','','Enables ILS-DI services at OPAC.','YesNo'),
279
('ILS-DI','0','','Enables ILS-DI services at OPAC.','YesNo'),
279
('ILS-DI:AuthorizedIPs','','Restricts usage of ILS-DI to some IPs','.','Free'),
280
('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 995-1000 Circulation: Link Here
995
            - pref: ILLOpacbackends
995
            - pref: ILLOpacbackends
996
              class: multi
996
              class: multi
997
            - (separated with |). If left empty, all installed backends will be enabled.
997
            - (separated with |). If left empty, all installed backends will be enabled.
998
        -
999
            - "Add customizable tabs to interlibrary loan requests list:"
1000
            - pref: ILLRequestsTabs
1001
              syntax: text/x-yaml
1002
              class: code
1003
              type: textarea
1004
            - "This is a list that defines tab names and statuses that will be sorted under that tab.<br/><br/>"
1005
            - "Examples:<br/>"
1006
            - "<pre>- name: Closed</pre>"
1007
            - "<pre>  status:</pre>"
1008
            - "<pre>    - COMP</pre>"
1009
            - "<pre>- name: Ordered</pre>"
1010
            - "<pre>  status:</pre>"
1011
            - "<pre>    - REQ</pre>"
1012
            - "<pre>    - ANOTHER_ORDER_STATUS</pre>"
1013
            - "<pre>- name: On loan</pre>"
1014
            - "<pre>  status:</pre>"
1015
            - "<pre>    - CHK</pre>"
998
        -
1016
        -
999
            - pref: ILLModuleUnmediated
1017
            - pref: ILLModuleUnmediated
1000
              default: 0
1018
              default: 0
1001
- 

Return to bug 30200