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

(-)a/Koha/Patron/Category.pm (-2 / +2 lines)
Lines 46-52 Return if the provided action is blocked by BlockExpiredPatronOpacActions, accou Link Here
46
46
47
=item action
47
=item action
48
48
49
Action, can be one of: ['hold', 'renew']
49
Action, can be one of: ['hold', 'renew', 'ill_request']
50
50
51
=back
51
=back
52
52
Lines 74-80 Return if the provided action is blocked by this category's BlockExpiredPatronOp Link Here
74
74
75
=item action
75
=item action
76
76
77
Action, can be one of: ['hold', 'renew']
77
Action, can be one of: ['hold', 'renew', 'ill_request']
78
78
79
=back
79
=back
80
80
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt (+5 lines)
Lines 361-366 Link Here
361
                        [% ELSE %]
361
                        [% ELSE %]
362
                            <option value="renew"> Renewing an item </option>
362
                            <option value="renew"> Renewing an item </option>
363
                        [% END %]
363
                        [% END %]
364
                        [% IF category and category.BlockExpiredPatronOpacActions_contains('ill_request') %]
365
                            <option value="ill_request" selected="selected"> Placing an ILL request </option>
366
                        [% ELSE %]
367
                            <option value="ill_request"> Placing an ILL request </option>
368
                        [% END %]
364
                        </optgroup>
369
                        </optgroup>
365
                    </select>
370
                    </select>
366
                    <div class="hint">
371
                    <div class="hint">
(-)a/koha-tmpl/intranet-tmpl/prog/js/categories.js (-1 / +1 lines)
Lines 133-138 $(document).ready(function () { Link Here
133
            ) {
133
            ) {
134
                blocked_actions_select.multipleSelect("uncheck", "hold");
134
                blocked_actions_select.multipleSelect("uncheck", "hold");
135
                blocked_actions_select.multipleSelect("uncheck", "renew");
135
                blocked_actions_select.multipleSelect("uncheck", "renew");
136
                blocked_actions_select.multipleSelect("uncheck", "ill_request");
136
            } else if (
137
            } else if (
137
                view.value != "follow_syspref_BlockExpiredPatronOpacActions" &&
138
                view.value != "follow_syspref_BlockExpiredPatronOpacActions" &&
138
                view.selected
139
                view.selected
139
- 

Return to bug 34597