]> git.koha-community.org Git - koha.git/commit
Bug 30025: Split BiblioAddsAuthorities into two sysprefs
authorNick Clemens <nick@bywatersolutions.com>
Thu, 26 May 2022 16:14:40 +0000 (16:14 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 16 Sep 2022 19:48:30 +0000 (16:48 -0300)
commitd8b15c685c74c8eb18021bb3c7d4c4ecba609569
treea32fa2ee3e54e3940932349a93b281ed7fb8f44d
parent5db2d54a0f8f9fe991cb223052a96ea7fa7ebb27
Bug 30025: Split BiblioAddsAuthorities into two sysprefs

This patch adds two new sysprefs:
AutoLinkBiblios
AllowManualAuthorityEditing

Both inherit the setting from BiblioAddsAuhtorities which is removed

To test:
1 -Apply patches
2 - Update database
3 - Confirm old setting is transferred to new option
4 - Confirm you can edit authoriteis manually if AllowManualAuthorityEditing set to allow
5 - Confirm you cannot edit authorities manually if AllowManualAuthorityEditing set to don't allow
6 - Confirm a new bib is linked when AutoLinkBiblios is enabled (set AllowManualAuthorityEditing to add unlinked heading)
7 - Confirm new bib notlinked when AutoLinkBiblios is disabled
8 - Confim new bib not linked when AutoLinkBiblios is enabled, but heading doesn't match an authority and  AutoCreateAuthorities is disabled
9 - Confim new bib linked to new authority when AutoLinkBiblios is enabled, but heading doesn't match an authority and  AutoCreateAuthorities is enabled

Signed-off-by: AFHDubCoLib <andrewfh@dubcolib.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Biblio.pm
C4/UsageStats.pm
about.pl
cataloguing/addbiblio.pl
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/authorities.pref
t/db_dependent/Biblio.t
t/db_dependent/Koha/SearchEngine/Indexer.t