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 259-264 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
259
('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'),
259
('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'),
260
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'),
260
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'),
261
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
261
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
262
('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea'),
262
('ILLSendStaffNotices', NULL, NULL, 'Send these ILL notices to staff', 'multiple'),
263
('ILLSendStaffNotices', NULL, NULL, 'Send these ILL notices to staff', 'multiple'),
263
('ILS-DI','0','','Enables ILS-DI services at OPAC.','YesNo'),
264
('ILS-DI','0','','Enables ILS-DI services at OPAC.','YesNo'),
264
('ILS-DI:AuthorizedIPs','','Restricts usage of ILS-DI to some IPs','.','Free'),
265
('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 933-938 Circulation: Link Here
933
            - pref: ILLOpacbackends
933
            - pref: ILLOpacbackends
934
              class: multi
934
              class: multi
935
            - (separated with |). If left empty, all installed backends will be enabled.
935
            - (separated with |). If left empty, all installed backends will be enabled.
936
        -
937
            - "Add customizable tabs to interlibrary loan requests list:"
938
            - pref: ILLRequestsTabs
939
              syntax: text/x-yaml
940
              class: code
941
              type: textarea
942
            - "This is a list that defines tab names and statuses that will be sorted under that tab.<br/><br/>"
943
            - "Examples:<br/>"
944
            - "<pre>- name: Closed</pre>"
945
            - "<pre>  status:</pre>"
946
            - "<pre>    - COMP</pre>"
947
            - "<pre>- name: Ordered</pre>"
948
            - "<pre>  status:</pre>"
949
            - "<pre>    - REQ</pre>"
950
            - "<pre>    - ANOTHER_ORDER_STATUS</pre>"
951
            - "<pre>- name: On loan</pre>"
952
            - "<pre>  status:</pre>"
953
            - "<pre>    - CHK</pre>"
936
        -
954
        -
937
            - pref: ILLModuleUnmediated
955
            - pref: ILLModuleUnmediated
938
              default: 0
956
              default: 0
939
- 

Return to bug 30200