Bug 34597: Add 'ill_request' to patron category admin page
Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
6307b35fa1
commit
79b95d0b53
|
|
@ -46,7 +46,7 @@ Return if the provided action is blocked by BlockExpiredPatronOpacActions, accou
|
|||
|
||||
=item action
|
||||
|
||||
Action, can be one of: ['hold', 'renew']
|
||||
Action, can be one of: ['hold', 'renew', 'ill_request']
|
||||
|
||||
=back
|
||||
|
||||
|
|
@ -74,7 +74,7 @@ Return if the provided action is blocked by this category's BlockExpiredPatronOp
|
|||
|
||||
=item action
|
||||
|
||||
Action, can be one of: ['hold', 'renew']
|
||||
Action, can be one of: ['hold', 'renew', 'ill_request']
|
||||
|
||||
=back
|
||||
|
||||
|
|
|
|||
|
|
@ -361,6 +361,11 @@
|
|||
[% ELSE %]
|
||||
<option value="renew"> Renewing an item </option>
|
||||
[% END %]
|
||||
[% IF category and category.BlockExpiredPatronOpacActions_contains('ill_request') %]
|
||||
<option value="ill_request" selected="selected"> Placing an ILL request </option>
|
||||
[% ELSE %]
|
||||
<option value="ill_request"> Placing an ILL request </option>
|
||||
[% END %]
|
||||
</optgroup>
|
||||
</select>
|
||||
<div class="hint">
|
||||
|
|
|
|||
|
|
@ -133,6 +133,7 @@ $(document).ready(function () {
|
|||
) {
|
||||
blocked_actions_select.multipleSelect("uncheck", "hold");
|
||||
blocked_actions_select.multipleSelect("uncheck", "renew");
|
||||
blocked_actions_select.multipleSelect("uncheck", "ill_request");
|
||||
} else if (
|
||||
view.value != "follow_syspref_BlockExpiredPatronOpacActions" &&
|
||||
view.selected
|
||||
|
|
|
|||
Loading…
Reference in New Issue