Bugzilla – Attachment 61502 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 OPACFineNoRenewalsBlockAutoRenew
Bug-15582-DB-changes---add-new-pref-OPACFineNoRene.patch (text/plain), 3.03 KB, created by
Martin Renvoize (ashimema)
on 2017-03-23 08:22:27 UTC
(
hide
)
Description:
Bug 15582: DB changes - add new pref OPACFineNoRenewalsBlockAutoRenew
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2017-03-23 08:22:27 UTC
Size:
3.03 KB
patch
obsolete
>From 0c53a519ef0f62defea22369791b734f8f67c7f5 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 > OPACFineNoRenewalsBlockAutoRenew > >Sponsored-by: University of the Arts London >Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com> >Signed-off-by: Janet McGowan <janet.mcgowan@ptfs-europe.com> >--- > installer/data/mysql/atomicupdate/bug_15582.sql | 2 ++ > installer/data/mysql/sysprefs.sql | 1 + > .../prog/en/modules/admin/preferences/circulation.pref | 7 +++++++ > 3 files changed, 10 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..eef41c6 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_15582.sql >@@ -0,0 +1,2 @@ >+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 1aa3f8d..149be98 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -251,6 +251,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('maxItemsInSearchResults','20',NULL,'Specify the maximum number of items to display for each result on a page of results','free'), > ('MaxOpenSuggestions','',NULL,'Limit the number of open suggestions a patron can have at once','Integer'), > ('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 81b671c..8e4ff21 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 >@@ -444,6 +444,13 @@ Circulation: > yes: Block > no: Allow > - renewing of items. >+ - >+ - If patron owe more than the value of OPACFineNoRenewals, >+ - pref: OPACFineNoRenewalsBlockAutoRenew >+ choices: >+ yes: Block >+ no: Allow >+ - his/her auto renewals. > Checkin Policy: > - > - pref: BlockReturnOfWithdrawnItems >-- >2.1.4
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