Bug 25709: Rename systempreference to NotesToHide
authorNick Clemens <nick@bywatersolutions.com>
Mon, 6 Jul 2020 17:56:35 +0000 (17:56 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 31 Jul 2020 21:14:42 +0000 (21:14 +0000)
commitf00ce94d94b079a9e8e326ea3bad99e5567d93f2
tree7449be274e6cecb3ee5b311700041cb145cec148
parent4733a2a4215c9351a398945ea2546542e4027d43
Bug 25709: Rename systempreference to NotesToHide

In an effort to use more inclusive language we have added a new coding guideline:
https://wiki.koha-community.org/wiki/Coding_Guidelines#TERM3:_Inclusive_Language

This patchset renames a syspref to be clearer and follow the guideline

To test:
1 - Apply patch and updatedatabase
2 - git grep NotesBlacklist
3 - Note all remaining occurrences are translations, db updates, and release notes
4 - Add a field (e.g. '520' ) to the NotesToHide systempreference
5 - View a record with a 520 field on the opac
6 - Confirm the field does not show in the 'Title notes' tab

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 5e45076c00b2f72537ba9c81c4535253f1aaadfb)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Biblio.pm
installer/data/mysql/atomicupdate/rename_preference_NotesToHide.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref
t/Biblio/GetMarcNotes.t