Bug 29137: Add new syspref to disable AV creation within the cataloguing module
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 30 Sep 2021 06:56:36 +0000 (08:56 +0200)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 8 Oct 2021 13:45:41 +0000 (09:45 -0400)
commit4aaf9847c9c9e1a71345da6c691d30c9ba246f23
tree3c2a4651a13d07528335d6ef6ae1a35c7a030374
parent7d13ba8bfbbf2f06009c19797fc4ac11ae12d0ba
Bug 29137: Add new syspref to disable AV creation within the cataloguing module

"I don't like this patch at all!"
"We will see a cataloger revolt if we do not find a way to make this
optional for catalogers."

I imagined a hord of catalogers running behind me and I got scared.

This patch will allow to turn the new feature added by bug 25728 off.

Test plan:
Confirm that the new CreateAVFromCataloguing will permit to turn the
feature off.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_29137.pl [new file with mode: 0755]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt
koha-tmpl/intranet-tmpl/prog/js/cataloging.js