Bug 24083: Required atomic updates & DB update
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Thu, 21 Nov 2019 14:35:41 +0000 (14:35 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 11 Nov 2020 15:09:58 +0000 (16:09 +0100)
commit07bc35615649f466674ce2e6f2534d47926b02e8
treefefc0dec6138cf7db5ce0b0ee1615ebaf83c472d
parentdc465736cd14a860ffbda1571012fe94fb1e65fa
Bug 24083: Required atomic updates & DB update

This patch adds:

- An "UnseenRenewals" circulation syspref that enables/disables the
  functionality added in this bug

- Add unseen_renewals_allowed to circulation_rules

- A change to the issues & old_issues table schemas and corresponding
  database upgrades to add issues.unseen_renewals &
  old_issues.unseen_renewals

Signed-off-by: Sally Healey <sally.Healey@cheshirewestandchester.gov.uk>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/bug_24083_UnseenRenewals_syspref.perl [new file with mode: 0644]
installer/data/mysql/atomicupdate/bug_24083_add_issues_unseen_renewals.perl [new file with mode: 0644]
installer/data/mysql/atomicupdate/bug_24083_add_issuingrules_unseen_renewals_allowed.perl [new file with mode: 0644]
installer/data/mysql/kohastructure.sql
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref