Bug 20310: Adding a pref to control behavior
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 8 Sep 2020 13:29:45 +0000 (13:29 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Jul 2021 13:47:34 +0000 (15:47 +0200)
commitbf5ed39364fec678403dbe61d5cb260bf3776728
treefd0139010930afee2def05601e91693e293a3365
parent1f8d0a8fe5dd99ce072d184baab875e568a9b8cd
Bug 20310: Adding a pref to control behavior

If people want to control the redirection, we could add a pref
like ArticleRequestsHostRedirection. If it is not enabled,
the party is over.

Test plan:
Test if redirection stops on a child and host when you disable.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Biblio.pm
installer/data/mysql/atomicupdate/bug_20130.perl [new file with mode: 0644]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
t/db_dependent/Koha/Biblio/host_record.t