Bugzilla – Attachment 89051 Details for
Bug 7088
Cannot renew items on hold even with override
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7088: (follow-up) AllowRenewalLimitOverride fix
Bug-7088-follow-up-AllowRenewalLimitOverride-fix.patch (text/plain), 1.29 KB, created by
Katrin Fischer
on 2019-04-29 19:30:19 UTC
(
hide
)
Description:
Bug 7088: (follow-up) AllowRenewalLimitOverride fix
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-04-29 19:30:19 UTC
Size:
1.29 KB
patch
obsolete
>From ccef0f513d7d9bc20202101d8b35c967b6662af2 Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Tue, 23 Apr 2019 10:44:08 +0100 >Subject: [PATCH] Bug 7088: (follow-up) AllowRenewalLimitOverride fix > >This patch causes the click event listener on the #override_limit to be >created if EITHER the AllowRenewalOnHoldOverride OR >AllowRenewalLimitOverride sysprefs are enabled. Previously, it would >only be created if the AllowRenewalLimitOverride syspref was enabled, >which would cause the checkbox to be displayed but do nothing. > >Signed-off-by: Liz Rea <wizzyrea@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >index 4035183a21..9fe2ebfde3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >@@ -787,7 +787,7 @@ $(document).ready(function() { > }); > } > >- if ( AllowRenewalLimitOverride ) { >+ if ( AllowRenewalLimitOverride || AllowRenewalOnHoldOverride ) { > $( '#override_limit' ).click( function () { > if ( this.checked ) { > $( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide(); >-- >2.11.0
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 7088
:
79689
|
79690
|
79691
|
82274
|
83004
|
83005
|
83006
|
83092
|
83093
|
83094
|
84509
|
84510
|
84850
|
85434
|
85435
|
85436
|
85437
|
85438
|
85439
|
85440
|
88446
|
88868
|
89026
|
89027
|
89028
|
89029
|
89030
|
89031
|
89032
|
89033
|
89034
|
89044
|
89045
|
89046
|
89047
|
89048
|
89049
|
89050
|
89051
|
89052
|
89086
|
89087
|
89088
|
89089
|
89090
|
89091
|
89092
|
89093
|
89094