Bugzilla – Attachment 83004 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: Add AllowRenewalOnHoldOverride syspref
Bug-7088-Add-AllowRenewalOnHoldOverride-syspref.patch (text/plain), 3.56 KB, created by
Andrew Isherwood
on 2018-12-10 09:59:51 UTC
(
hide
)
Description:
Bug 7088: Add AllowRenewalOnHoldOverride syspref
Filename:
MIME Type:
Creator:
Andrew Isherwood
Created:
2018-12-10 09:59:51 UTC
Size:
3.56 KB
patch
obsolete
>From 7cae51f3bef0cd3c8e1799b8cfc83a1db9453d6f Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Wed, 19 Sep 2018 16:29:19 +0100 >Subject: [PATCH] Bug 7088: Add AllowRenewalOnHoldOverride syspref > >Enables the renewal of on hold items with specified due dates to be turned on/off > >Sponsored-by: Cheshire Libraries Shared Services >Sponsored-by: Halton Borough Council >Sponsored-by: Sefton Council >--- > .../mysql/atomicupdate/bug_7088_allow_renewal_on_hold_override.sql | 2 ++ > installer/data/mysql/sysprefs.sql | 1 + > .../prog/en/modules/admin/preferences/circulation.pref | 6 ++++++ > 3 files changed, 9 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_7088_allow_renewal_on_hold_override.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_7088_allow_renewal_on_hold_override.sql b/installer/data/mysql/atomicupdate/bug_7088_allow_renewal_on_hold_override.sql >new file mode 100644 >index 0000000000..e625b0cfb0 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_7088_allow_renewal_on_hold_override.sql >@@ -0,0 +1,2 @@ >+INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES >+('AllowRenewalOnHoldOverride','1','','If on, allow items on hold to be renewed with a specified due date','YesNo'); >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 1e36c306c6..5eb2f8e6aa 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -37,6 +37,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('AllowPurchaseSuggestionBranchChoice','0','1','Allow user to choose branch when making a purchase suggestion','YesNo'), > ('AllowRenewalIfOtherItemsAvailable','0',NULL,'If enabled, allow a patron to renew an item with unfilled holds if other available items can fill that hold.','YesNo'), > ('AllowRenewalLimitOverride','0',NULL,'if ON, allows renewal limits to be overridden on the circulation screen','YesNo'), >+('AllowRenewalOnHoldOverride','1',NULL,'If ON, allow items on hold to be renewed with a specified due date','YesNo'), > ('AllowReturnToBranch','anywhere','anywhere|homebranch|holdingbranch|homeorholdingbranch','Where an item may be returned','Choice'), > ('AllowSelfCheckReturns','0','','If enabled, patrons may return items through the Web-based Self Checkout','YesNo'), > ('AllowStaffToSetCheckoutsVisibilityForGuarantor','0',NULL,'If enabled, library staff can set a patron''s checkouts to be visible to linked patrons from the opac.', 'YesNo'), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >index e67fc81d7b..e18dd67d8d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >@@ -184,6 +184,12 @@ Circulation: > no: "Don't allow" > - staff to manually override renewal blocks and renew a checkout when it would go over the renewal limit or be premature with respect to the "No renewal before" setting in the circulation policy or has been scheduled for automatic renewal. > - >+ - pref: AllowRenewalOnHoldOverride >+ choices: >+ yes: Allow >+ no: "Don't allow" >+ - staff to renew items that are on hold by manually specifying a due date. >+ - > - pref: AllowItemsOnHoldCheckout > choices: > yes: Allow >-- >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