Bugzilla – Attachment 47383 Details for
Bug 15582
Ability to block auto renewals if the OPACFineNoRenewals amount is reached
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15582: DB changes - add new pref MaxOutstandingBlockAutoRenew
Bug-15582-DB-changes---add-new-pref-MaxOutstanding.patch (text/plain), 2.92 KB, created by
Jonathan Druart
on 2016-01-28 10:52:01 UTC
(
hide
)
Description:
Bug 15582: DB changes - add new pref MaxOutstandingBlockAutoRenew
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-01-28 10:52:01 UTC
Size:
2.92 KB
patch
obsolete
>From a68143984e8cfb5e5d9d56631201d3997c01f16f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 14 Jan 2016 15:03:27 +0000 >Subject: [PATCH] Bug 15582: DB changes - add new pref > MaxOutstandingBlockAutoRenew > >Sponsored-by: University of the Arts London >--- > installer/data/mysql/atomicupdate/bug_15582.sql | 3 +++ > installer/data/mysql/sysprefs.sql | 1 + > .../prog/en/modules/admin/preferences/circulation.pref | 7 +++++++ > 3 files changed, 11 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_15582.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_15582.sql b/installer/data/mysql/atomicupdate/bug_15582.sql >new file mode 100644 >index 0000000..ee6711d >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_15582.sql >@@ -0,0 +1,3 @@ >+INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) >+VALUES ('OPACFineNoRenewalsBlockAutoRenew','0','','Block/Allow auto renewals if the patron owe more than OPACFineNoRenewals','YesNo') >+ >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index 96ea9ad..095ff39 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -222,6 +222,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('MaxItemsForBatch','1000',NULL,'Max number of items record to process in a batch (modification or deletion)','Integer'), > ('maxItemsInSearchResults','20',NULL,'Specify the maximum number of items to display for each result on a page of results','free'), > ('maxoutstanding','5','','maximum amount withstanding to be able make holds','Integer'), >+('OPACFineNoRenewalsBlockAutoRenew','0','','Block/Allow auto renewals if the patron owe more than OPACFineNoRenewals','YesNo'), > ('maxRecordsForFacets','20',NULL,NULL,'Integer'), > ('maxreserves','50','','Define maximum number of holds a patron can place','Integer'), > ('MaxSearchResultsItemsPerRecordStatusCheck','20','','Max number of items per record for which to check transit and hold status','Integer'), >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 d9c7e25..7d35f44 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 >@@ -408,6 +408,13 @@ Circulation: > yes: Block > no: Allow > - renewing of items. >+ - >+ - If patron owe more than the value of OPACFineNoRenewals, >+ - pref: MaxOutstandingBlockAutoRenew >+ choices: >+ yes: Block >+ no: Allow >+ - his/her auto renewals. > Checkin Policy: > - > - pref: BlockReturnOfWithdrawnItems >-- >2.1.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 15582
:
46693
|
46694
|
47382
|
47383
|
47384
|
50333
|
50334
|
50678
|
50679
|
50726
|
53521
|
54347
|
56753
|
56754
|
56755
|
56978
|
56979
|
56980
|
57738
|
57739
|
57740
|
61077
|
61078
|
61079
|
61502
|
61503
|
61504
|
62881
|
62882
|
62883
|
62914
|
62915
|
62916