Bugzilla – Attachment 127926 Details for
Bug 29504
Confirm item parts requires force_checkout permission (checkouts tab)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29504: Allow 'ADDITIONAL_MATERIALS' check to be confirmed
Bug-29504-Allow-ADDITIONALMATERIALS-check-to-be-co.patch (text/plain), 2.55 KB, created by
Martin Renvoize (ashimema)
on 2021-11-22 11:38:11 UTC
(
hide
)
Description:
Bug 29504: Allow 'ADDITIONAL_MATERIALS' check to be confirmed
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-11-22 11:38:11 UTC
Size:
2.55 KB
patch
obsolete
>From 061e0dad8e9deaae7c96f2425d9958d937e927c3 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 22 Nov 2021 11:33:25 +0000 >Subject: [PATCH] Bug 29504: Allow 'ADDITIONAL_MATERIALS' check to be confirmed > >The additional materials check when CircConfirmParts is enabled was >errantly relying upon the 'FORCE_CHECKOUT' permission. This patch >updates the template to allow confirmation as well as cancellation of >chekout. > >Test plan >1. Set a staff member with circ permissions, but not FORCE_CHECKOUT >2. Turn on CircConfirmItemParts >3. Log in as staff member in step 1 >4. Attempt to checkout an item with a 952$3 >5. The only option given is the Continue button (with a red X) and when > clicked, the item does not get checked out. >6. Apply patch >7. Repeat step 4. >8. You should now have the option to 'Yes, check out (Y)' or > 'No, don't check out (N)' >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index bc8a32e631..85b072ee32 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -235,7 +235,7 @@ > [% END %] > </ul> > >- [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] >+ [% IF CAN_user_circulate_force_checkout or HIGHHOLDS or ADDITIONAL_MATERIALS %] > <form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off"> > <input type="hidden" name="restoreduedatespec" /> > >@@ -328,7 +328,7 @@ > <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" /> > <input type="hidden" name="restoreduedatespec" /> > <input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" /> >- [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %] >+ [% IF CAN_user_circulate_force_checkout or HIGHHOLDS or ADDITIONAL_MATERIALS %] > [% IF ( RENEW_ISSUE ) %] > <button type="submit" class="deny" accesskey="n"><i class="fa fa-times"></i> No, don't renew (N)</button> > [% ELSE %] >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29504
:
127926
|
128549
|
128550
|
130187
|
130188
|
136330
|
136331