]> git.koha-community.org Git - koha.git/commit
Bug 25709: Rename systempreference to NotesToHide
authorNick Clemens <nick@bywatersolutions.com>
Mon, 6 Jul 2020 17:56:35 +0000 (17:56 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 29 Jul 2020 08:08:43 +0000 (10:08 +0200)
commit5e45076c00b2f72537ba9c81c4535253f1aaadfb
tree40c5a6dc34b86e67c6771f0318d52b88702d16cc
parent00a3aa21e86719dd702215150a4571219c434ddd
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>
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